{"_id":"node-match-path","_rev":"3550261","name":"node-match-path","description":"Dependency-free request URI matcher","dist-tags":{"latest":"0.6.3"},"maintainers":[{"name":"kettanaito","email":""}],"time":{"modified":"2024-09-19T02:41:05.000Z","created":"2019-07-24T13:46:54.033Z","0.6.3":"2021-04-09T10:15:55.066Z","0.6.2":"2021-03-24T12:28:07.561Z","0.6.1":"2021-01-22T16:12:05.670Z","0.6.0":"2020-11-06T09:03:52.605Z","0.5.2":"2020-11-03T13:28:43.036Z","0.5.1":"2020-09-23T16:25:56.657Z","0.5.0":"2020-09-14T13:41:48.284Z","0.4.4":"2020-07-27T09:55:54.876Z","0.4.3":"2020-06-17T13:20:37.241Z","0.4.2":"2020-04-24T08:04:12.007Z","0.4.1":"2020-04-24T07:55:15.660Z","0.4.0":"2020-04-23T10:00:38.051Z","0.3.1":"2020-03-22T19:43:52.471Z","0.3.0":"2020-03-11T17:50:05.333Z","0.2.3":"2020-03-02T19:52:13.170Z","0.2.2":"2020-03-02T10:09:12.960Z","0.2.1":"2020-03-02T09:48:58.852Z","0.2.0":"2020-03-02T09:32:10.926Z","0.1.0":"2019-07-24T13:46:54.033Z"},"users":{},"author":{"name":"Artem Zakharchenko","email":"kettanaito@gmail.com"},"versions":{"0.6.3":{"name":"node-match-path","version":"0.6.3","description":"Dependency-free request URI matcher","esnext":"src/index.ts","main":"lib/cjs.js","module":"lib/esm.js","types":"lib/index.d.ts","author":{"name":"Artem Zakharchenko","email":"kettanaito@gmail.com"},"license":"MIT","keywords":["url","uri","path","route","mask","match","matcher","path-to-regexp","regexp","wildcard","params"],"scripts":{"test":"jest","clean":"rimraf -rf lib","build":"yarn clean && rollup -c rollup.config.js","prepublishOnly":"yarn test && yarn build"},"devDependencies":{"@babel/core":"^7.13.10","@babel/preset-env":"^7.13.12","@types/jest":"^26.0.21","jest":"^26.6.3","rimraf":"^3.0.2","rollup":"^2.42.3","rollup-plugin-babel":"^4.4.0","rollup-plugin-node-resolve":"^5.2.0","rollup-plugin-sourcemaps":"^0.6.3","rollup-plugin-typescript2":"^0.30.0","ts-jest":"^26.5.4","typescript":"^4.2.3"},"_id":"node-match-path@0.6.3","dist":{"shasum":"55dd8443d547f066937a0752dce462ea7dc27551","size":2254,"noattachment":false,"key":"/node-match-path/-/node-match-path-0.6.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/node-match-path/download/node-match-path-0.6.3.tgz"},"_npmUser":{"name":"kettanaito","email":"kettanaito@gmail.com"},"directories":{},"maintainers":[{"name":"kettanaito","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/node-match-path_0.6.3_1617963354928_0.6572029055416488"},"_hasShrinkwrap":false,"publish_time":1617963355066,"_cnpm_publish_time":1617963355066,"_cnpmcore_publish_time":"2021-12-16T18:59:34.213Z"},"0.6.2":{"name":"node-match-path","version":"0.6.2","description":"Dependency-free request URI matcher","esnext":"src/index.ts","main":"lib/cjs.js","module":"lib/esm.js","types":"lib/index.d.ts","author":{"name":"Artem Zakharchenko","email":"kettanaito@gmail.com"},"license":"MIT","keywords":["url","uri","path","route","mask","match","matcher","path-to-regexp","regexp","wildcard","params"],"scripts":{"test":"jest","clean":"rimraf -rf lib","build":"yarn clean && rollup -c rollup.config.js","prepublishOnly":"yarn test && yarn build"},"devDependencies":{"@babel/core":"^7.13.10","@babel/preset-env":"^7.13.12","@types/jest":"^26.0.21","jest":"^26.6.3","rimraf":"^3.0.2","rollup":"^2.42.3","rollup-plugin-babel":"^4.4.0","rollup-plugin-node-resolve":"^5.2.0","rollup-plugin-sourcemaps":"^0.6.3","rollup-plugin-typescript2":"^0.30.0","ts-jest":"^26.5.4","typescript":"^4.2.3"},"_id":"node-match-path@0.6.2","dist":{"shasum":"29a05ed7eda4d325f29d7abb088c12bbf1578e87","size":2246,"noattachment":false,"key":"/node-match-path/-/node-match-path-0.6.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/node-match-path/download/node-match-path-0.6.2.tgz"},"_npmUser":{"name":"kettanaito","email":"kettanaito@gmail.com"},"directories":{},"maintainers":[{"name":"kettanaito","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/node-match-path_0.6.2_1616588887405_0.7597426276459669"},"_hasShrinkwrap":false,"publish_time":1616588887561,"_cnpm_publish_time":1616588887561,"_cnpmcore_publish_time":"2021-12-16T18:59:34.410Z"},"0.6.1":{"name":"node-match-path","version":"0.6.1","description":"Dependency-free request URI matcher","esnext":"src/index.ts","main":"lib/cjs.js","module":"lib/esm.js","types":"lib/index.d.ts","author":{"name":"Artem Zakharchenko","email":"kettanaito@gmail.com"},"license":"MIT","keywords":["url","uri","path","route","mask","match","matcher","path-to-regexp","regexp","wildcard","params"],"scripts":{"test":"jest","clean":"rimraf -rf lib","build":"yarn clean && rollup -c rollup.config.js","prepublishOnly":"yarn test && yarn build"},"devDependencies":{"@babel/core":"^7.12.10","@babel/preset-env":"^7.12.11","@types/jest":"^26.0.20","jest":"^26.6.3","rimraf":"^3.0.2","rollup":"^2.37.1","rollup-plugin-babel":"^4.4.0","rollup-plugin-node-resolve":"^5.2.0","rollup-plugin-sourcemaps":"^0.6.3","rollup-plugin-typescript2":"^0.29.0","ts-jest":"^26.4.4","typescript":"^4.1.3"},"_id":"node-match-path@0.6.1","dist":{"shasum":"63570f8e60f726e75d6d9f016d08cbac609ec7d5","size":2252,"noattachment":false,"key":"/node-match-path/-/node-match-path-0.6.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/node-match-path/download/node-match-path-0.6.1.tgz"},"_npmUser":{"name":"kettanaito","email":"kettanaito@gmail.com"},"directories":{},"maintainers":[{"name":"kettanaito","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/node-match-path_0.6.1_1611331925182_0.8985803420982563"},"_hasShrinkwrap":false,"publish_time":1611331925670,"_cnpm_publish_time":1611331925670,"_cnpmcore_publish_time":"2021-12-16T18:59:34.591Z"},"0.6.0":{"name":"node-match-path","version":"0.6.0","description":"Dependency-free request URI matcher","esnext":"src/index.ts","main":"lib/cjs.js","module":"lib/esm.js","types":"lib/index.d.ts","author":{"name":"Artem Zakharchenko","email":"kettanaito@gmail.com"},"license":"MIT","keywords":["url","uri","path","route","mask","match","matcher","path-to-regexp","regexp","wildcard","params"],"scripts":{"test":"jest","clean":"rimraf -rf lib","build":"yarn clean && rollup -c rollup.config.js","prepublishOnly":"yarn test && yarn build"},"devDependencies":{"@babel/core":"^7.12.3","@babel/preset-env":"^7.12.1","@types/jest":"^26.0.15","jest":"^26.6.3","rimraf":"^3.0.2","rollup":"^2.33.1","rollup-plugin-babel":"^4.4.0","rollup-plugin-node-resolve":"^5.2.0","rollup-plugin-sourcemaps":"^0.6.3","rollup-plugin-typescript2":"^0.29.0","ts-jest":"^26.4.3","typescript":"^4.0.5"},"_id":"node-match-path@0.6.0","dist":{"shasum":"4674742f4e15854045198ebc40d8b9b2d64aa2f6","size":2232,"noattachment":false,"key":"/node-match-path/-/node-match-path-0.6.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/node-match-path/download/node-match-path-0.6.0.tgz"},"_npmUser":{"name":"kettanaito","email":"kettanaito@gmail.com"},"directories":{},"maintainers":[{"name":"kettanaito","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/node-match-path_0.6.0_1604653432471_0.4903498731246756"},"_hasShrinkwrap":false,"publish_time":1604653432605,"_cnpm_publish_time":1604653432605,"_cnpmcore_publish_time":"2021-12-16T18:59:34.800Z"},"0.5.2":{"name":"node-match-path","version":"0.5.2","description":"Dependency-free request URI matcher","esnext":"src/index.ts","main":"lib/cjs.js","module":"lib/esm.js","types":"lib/index.d.ts","author":{"name":"Artem Zakharchenko","email":"kettanaito@gmail.com"},"license":"MIT","keywords":["url","uri","path","route","mask","match","matcher","path-to-regexp","regexp","wildcard","params"],"scripts":{"test":"jest","clean":"rimraf -rf lib","build":"yarn clean && rollup -c rollup.config.js","prepublishOnly":"yarn test && yarn build"},"devDependencies":{"@babel/core":"^7.11.4","@babel/preset-env":"^7.11.0","@types/jest":"^26.0.10","jest":"^26.4.2","rimraf":"^3.0.2","rollup":"^2.26.6","rollup-plugin-babel":"^4.4.0","rollup-plugin-node-resolve":"^5.2.0","rollup-plugin-sourcemaps":"^0.6.2","rollup-plugin-typescript2":"^0.27.2","ts-jest":"^26.3.0","typescript":"^4.0.2"},"_id":"node-match-path@0.5.2","dist":{"shasum":"07d9bcee70da453fab8bcf6de5540bc0395d0cd9","size":2235,"noattachment":false,"key":"/node-match-path/-/node-match-path-0.5.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/node-match-path/download/node-match-path-0.5.2.tgz"},"_npmUser":{"name":"kettanaito","email":"kettanaito@gmail.com"},"directories":{},"maintainers":[{"name":"kettanaito","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/node-match-path_0.5.2_1604410122888_0.854311929737138"},"_hasShrinkwrap":false,"publish_time":1604410123036,"_cnpm_publish_time":1604410123036,"_cnpmcore_publish_time":"2021-12-16T18:59:34.994Z"},"0.5.1":{"name":"node-match-path","version":"0.5.1","description":"Dependency-free request URI matcher","esnext":"src/index.ts","main":"lib/cjs.js","module":"lib/esm.js","types":"lib/index.d.ts","author":{"name":"Artem Zakharchenko","email":"kettanaito@gmail.com"},"license":"MIT","keywords":["url","uri","path","route","mask","match","matcher","path-to-regexp","regexp","wildcard","params"],"scripts":{"test":"jest","clean":"rimraf -rf lib","build":"yarn clean && rollup -c rollup.config.js","prepublishOnly":"yarn test && yarn build"},"devDependencies":{"@babel/core":"^7.11.4","@babel/preset-env":"^7.11.0","@types/jest":"^26.0.10","jest":"^26.4.2","rimraf":"^3.0.2","rollup":"^2.26.6","rollup-plugin-babel":"^4.4.0","rollup-plugin-node-resolve":"^5.2.0","rollup-plugin-sourcemaps":"^0.6.2","rollup-plugin-typescript2":"^0.27.2","ts-jest":"^26.3.0","typescript":"^4.0.2"},"_id":"node-match-path@0.5.1","dist":{"shasum":"65d2fadef8bbded238cb89918de0c6c3c758aa22","size":2235,"noattachment":false,"key":"/node-match-path/-/node-match-path-0.5.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/node-match-path/download/node-match-path-0.5.1.tgz"},"maintainers":[{"name":"kettanaito","email":""}],"_npmUser":{"name":"kettanaito","email":"kettanaito@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/node-match-path_0.5.1_1600878356543_0.35404533402426663"},"_hasShrinkwrap":false,"publish_time":1600878356657,"_cnpm_publish_time":1600878356657,"_cnpmcore_publish_time":"2021-12-16T18:59:35.359Z"},"0.5.0":{"name":"node-match-path","version":"0.5.0","description":"Dependency-free request URI matcher","esnext":"src/index.ts","main":"lib/cjs.js","module":"lib/esm.js","types":"lib/index.d.ts","author":{"name":"Artem Zakharchenko","email":"kettanaito@gmail.com"},"license":"MIT","keywords":["url","uri","path","route","mask","match","matcher","path-to-regexp","regexp","wildcard","params"],"scripts":{"test":"jest","clean":"rimraf -rf lib","build":"yarn clean && rollup -c rollup.config.js","prepublishOnly":"yarn test && yarn build"},"devDependencies":{"@babel/core":"^7.11.4","@babel/preset-env":"^7.11.0","@types/jest":"^26.0.10","jest":"^26.4.2","rimraf":"^3.0.2","rollup":"^2.26.6","rollup-plugin-babel":"^4.4.0","rollup-plugin-node-resolve":"^5.2.0","rollup-plugin-sourcemaps":"^0.6.2","rollup-plugin-typescript2":"^0.27.2","ts-jest":"^26.3.0","typescript":"^4.0.2"},"_id":"node-match-path@0.5.0","dist":{"shasum":"fb722a74a4119df92928fa0a6b5aacf1a51d0dab","size":2236,"noattachment":false,"key":"/node-match-path/-/node-match-path-0.5.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/node-match-path/download/node-match-path-0.5.0.tgz"},"maintainers":[{"name":"kettanaito","email":""}],"_npmUser":{"name":"kettanaito","email":"kettanaito@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/node-match-path_0.5.0_1600090908129_0.026070436568959465"},"_hasShrinkwrap":false,"publish_time":1600090908284,"_cnpm_publish_time":1600090908284,"_cnpmcore_publish_time":"2021-12-16T18:59:35.614Z"},"0.4.4":{"name":"node-match-path","version":"0.4.4","description":"Dependency-free request URI matcher","esnext":"src/index.ts","main":"lib/cjs.js","module":"lib/esm.js","types":"lib/index.d.ts","author":{"name":"Artem Zakharchenko","email":"kettanaito@gmail.com"},"license":"MIT","keywords":["url","uri","path","route","mask","match","matcher","path-to-regexp","regexp","wildcard","params"],"scripts":{"test":"jest","clean":"rimraf -rf lib","build":"yarn clean && rollup -c rollup.config.js","prepublishOnly":"yarn test && yarn build"},"devDependencies":{"@babel/core":"^7.10.5","@babel/preset-env":"^7.10.4","@types/jest":"^26.0.7","jest":"^26.1.0","rimraf":"^3.0.2","rollup":"^2.23.0","rollup-plugin-babel":"^4.4.0","rollup-plugin-node-resolve":"^5.2.0","rollup-plugin-sourcemaps":"^0.6.2","rollup-plugin-typescript2":"^0.27.1","ts-jest":"^26.1.3","typescript":"^3.9.7"},"_id":"node-match-path@0.4.4","dist":{"shasum":"516a10926093c0cc6f237d020685b593b19baebb","size":2227,"noattachment":false,"key":"/node-match-path/-/node-match-path-0.4.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/node-match-path/download/node-match-path-0.4.4.tgz"},"maintainers":[{"name":"kettanaito","email":""}],"_npmUser":{"name":"kettanaito","email":"kettanaito@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/node-match-path_0.4.4_1595843754645_0.852562954744225"},"_hasShrinkwrap":false,"publish_time":1595843754876,"_cnpm_publish_time":1595843754876,"_cnpmcore_publish_time":"2021-12-16T18:59:35.799Z"},"0.4.3":{"name":"node-match-path","version":"0.4.3","description":"Dependency-free request URI matcher","esnext":"src/index.ts","main":"lib/cjs.js","module":"lib/esm.js","types":"lib/index.d.ts","author":{"name":"Artem Zakharchenko","email":"kettanaito@gmail.com"},"license":"MIT","keywords":["url","uri","path","route","mask","match","matcher","path-to-regexp","regexp","wildcard","params"],"scripts":{"test":"jest","clean":"rimraf -rf lib","build":"yarn clean && rollup -c rollup.config.js","prepublishOnly":"yarn test && yarn build"},"devDependencies":{"@babel/core":"^7.10.2","@babel/preset-env":"^7.10.2","@types/jest":"^26.0.0","jest":"^26.0.1","rimraf":"^3.0.2","rollup":"^2.16.1","rollup-plugin-babel":"^4.4.0","rollup-plugin-node-resolve":"^5.2.0","rollup-plugin-sourcemaps":"^0.6.2","rollup-plugin-typescript2":"^0.27.1","ts-jest":"^26.1.0","typescript":"^3.9.5"},"_id":"node-match-path@0.4.3","dist":{"shasum":"774e9ec9210f2397edb309c1680ec55f3e3a52f1","size":2230,"noattachment":false,"key":"/node-match-path/-/node-match-path-0.4.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/node-match-path/download/node-match-path-0.4.3.tgz"},"maintainers":[{"name":"kettanaito","email":""}],"_npmUser":{"name":"kettanaito","email":"kettanaito@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/node-match-path_0.4.3_1592400037105_0.958529737450257"},"_hasShrinkwrap":false,"publish_time":1592400037241,"_cnpm_publish_time":1592400037241,"_cnpmcore_publish_time":"2021-12-16T18:59:35.968Z"},"0.4.2":{"name":"node-match-path","version":"0.4.2","description":"Dependency-free request URI matcher","esnext":"src/index.ts","main":"lib/cjs.js","module":"lib/esm.js","types":"lib/index.d.ts","author":{"name":"Artem Zakharchenko","email":"kettanaito@gmail.com"},"license":"MIT","keywords":["url","uri","path","route","mask","match","matcher","path-to-regexp","regexp","wildcard","params"],"scripts":{"test":"jest","clean":"rimraf -rf lib","build":"yarn clean && rollup -c rollup.config.js","prepublishOnly":"yarn test && yarn build"},"devDependencies":{"@babel/core":"7.9.0","@babel/preset-env":"^7.5.5","@types/jest":"^24.0.15","jest":"^24.8.0","rimraf":"^2.6.3","rollup":"^1.17.0","rollup-plugin-babel":"^4.3.3","rollup-plugin-node-resolve":"^5.2.0","rollup-plugin-sourcemaps":"^0.4.2","rollup-plugin-typescript2":"^0.22.0","ts-jest":"^24.0.2","typescript":"^3.5.3"},"_id":"node-match-path@0.4.2","dist":{"shasum":"30cc39510fa493bff03c3d0d2fff711c868ec457","size":2220,"noattachment":false,"key":"/node-match-path/-/node-match-path-0.4.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/node-match-path/download/node-match-path-0.4.2.tgz"},"maintainers":[{"name":"kettanaito","email":""}],"_npmUser":{"name":"kettanaito","email":"kettanaito@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/node-match-path_0.4.2_1587715451833_0.5302230640656029"},"_hasShrinkwrap":false,"publish_time":1587715452007,"_cnpm_publish_time":1587715452007,"_cnpmcore_publish_time":"2021-12-16T18:59:36.253Z"},"0.4.1":{"name":"node-match-path","version":"0.4.1","description":"Dependency-free request URI matcher","esnext":"src/index.ts","main":"lib/cjs.js","module":"lib/esm.js","types":"lib/index.d.ts","author":{"name":"Artem Zakharchenko","email":"kettanaito@gmail.com"},"license":"MIT","keywords":["url","uri","path","route","mask","match","matcher","path-to-regexp","regexp","wildcard","params"],"scripts":{"test":"jest","clean":"rimraf -rf lib","build":"yarn clean && rollup -c rollup.config.js","prepublishOnly":"yarn test && yarn build"},"devDependencies":{"@babel/core":"7.9.0","@babel/preset-env":"^7.5.5","@types/jest":"^24.0.15","jest":"^24.8.0","rimraf":"^2.6.3","rollup":"^1.17.0","rollup-plugin-babel":"^4.3.3","rollup-plugin-node-resolve":"^5.2.0","rollup-plugin-sourcemaps":"^0.4.2","rollup-plugin-typescript2":"^0.22.0","ts-jest":"^24.0.2","typescript":"^3.5.3"},"_id":"node-match-path@0.4.1","dist":{"shasum":"bbb2c1efb5baf00a6b5ca5334c5578de2401ecac","size":2435,"noattachment":false,"key":"/node-match-path/-/node-match-path-0.4.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/node-match-path/download/node-match-path-0.4.1.tgz"},"maintainers":[{"name":"kettanaito","email":""}],"_npmUser":{"name":"kettanaito","email":"kettanaito@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/node-match-path_0.4.1_1587714915539_0.9723604903406289"},"_hasShrinkwrap":false,"publish_time":1587714915660,"_cnpm_publish_time":1587714915660,"_cnpmcore_publish_time":"2021-12-16T18:59:36.498Z"},"0.4.0":{"name":"node-match-path","version":"0.4.0","description":"Dependency-free request URI matcher","esnext":"src/index.ts","main":"lib/cjs.js","module":"lib/esm.js","types":"lib/index.d.ts","author":{"name":"Artem Zakharchenko","email":"kettanaito@gmail.com"},"license":"MIT","keywords":["url","uri","path","route","mask","match","matcher","path-to-regexp","regexp","wildcard","params"],"scripts":{"test":"jest","clean":"rimraf -rf lib","build":"yarn clean && rollup -c rollup.config.js","prepublishOnly":"yarn test && yarn build"},"devDependencies":{"@babel/core":"7.9.0","@babel/preset-env":"^7.5.5","@types/jest":"^24.0.15","jest":"^24.8.0","rimraf":"^2.6.3","rollup":"^1.17.0","rollup-plugin-babel":"^4.3.3","rollup-plugin-node-resolve":"^5.2.0","rollup-plugin-sourcemaps":"^0.4.2","rollup-plugin-typescript2":"^0.22.0","ts-jest":"^24.0.2","typescript":"^3.5.3"},"_id":"node-match-path@0.4.0","dist":{"shasum":"c215fdc5bbf953d902754630ff6df1a244028ca1","size":2358,"noattachment":false,"key":"/node-match-path/-/node-match-path-0.4.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/node-match-path/download/node-match-path-0.4.0.tgz"},"maintainers":[{"name":"kettanaito","email":""}],"_npmUser":{"name":"kettanaito","email":"kettanaito@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/node-match-path_0.4.0_1587636037820_0.5581132693896003"},"_hasShrinkwrap":false,"publish_time":1587636038051,"_cnpm_publish_time":1587636038051,"_cnpmcore_publish_time":"2021-12-16T18:59:36.736Z"},"0.3.1":{"name":"node-match-path","version":"0.3.1","description":"Dependency-free request URI matcher","esnext":"src/index.ts","main":"lib/cjs.js","module":"lib/esm.js","types":"lib/index.d.ts","author":{"name":"Artem Zakharchenko","email":"kettanaito@gmail.com"},"license":"MIT","keywords":["url","uri","path","route","mask","match","matcher","path-to-regexp","regexp","wildcard","params"],"scripts":{"test":"jest","clean":"rimraf -rf lib","build":"yarn clean && rollup -c rollup.config.js","prepublishOnly":"yarn test && yarn build"},"devDependencies":{"@babel/core":"^7.5.5","@babel/preset-env":"^7.5.5","@types/jest":"^24.0.15","jest":"^24.8.0","rimraf":"^2.6.3","rollup":"^1.17.0","rollup-plugin-babel":"^4.3.3","rollup-plugin-node-resolve":"^5.2.0","rollup-plugin-sourcemaps":"^0.4.2","rollup-plugin-typescript2":"^0.22.0","ts-jest":"^24.0.2","typescript":"^3.5.3"},"_id":"node-match-path@0.3.1","dist":{"shasum":"5fad8475e7763840960ad436fa4e3ed01275e22f","size":2132,"noattachment":false,"key":"/node-match-path/-/node-match-path-0.3.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/node-match-path/download/node-match-path-0.3.1.tgz"},"maintainers":[{"name":"kettanaito","email":""}],"_npmUser":{"name":"kettanaito","email":"kettanaito@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/node-match-path_0.3.1_1584906232379_0.9965260875527429"},"_hasShrinkwrap":false,"publish_time":1584906232471,"_cnpm_publish_time":1584906232471,"_cnpmcore_publish_time":"2021-12-16T18:59:37.025Z"},"0.3.0":{"name":"node-match-path","version":"0.3.0","description":"Dependency-free request URI matcher","esnext":"src/index.ts","main":"lib/cjs.js","module":"lib/esm.js","types":"lib/index.d.ts","author":{"name":"Artem Zakharchenko","email":"kettanaito@gmail.com"},"license":"MIT","keywords":["url","uri","path","route","mask","match","matcher","path-to-regexp","regexp","wildcard","params"],"scripts":{"test":"jest","clean":"rimraf -rf lib","build":"yarn clean && rollup -c rollup.config.js","prepublishOnly":"yarn test && yarn build"},"devDependencies":{"@babel/core":"^7.5.5","@babel/preset-env":"^7.5.5","@types/jest":"^24.0.15","jest":"^24.8.0","rimraf":"^2.6.3","rollup":"^1.17.0","rollup-plugin-babel":"^4.3.3","rollup-plugin-node-resolve":"^5.2.0","rollup-plugin-sourcemaps":"^0.4.2","rollup-plugin-typescript2":"^0.22.0","ts-jest":"^24.0.2","typescript":"^3.5.3"},"_id":"node-match-path@0.3.0","dist":{"shasum":"aa191cc1195b6f343f6e3b0faba1724c6f59edb1","size":2062,"noattachment":false,"key":"/node-match-path/-/node-match-path-0.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/node-match-path/download/node-match-path-0.3.0.tgz"},"maintainers":[{"name":"kettanaito","email":""}],"_npmUser":{"name":"kettanaito","email":"kettanaito@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/node-match-path_0.3.0_1583949005218_0.4715766386887825"},"_hasShrinkwrap":false,"publish_time":1583949005333,"_cnpm_publish_time":1583949005333,"_cnpmcore_publish_time":"2021-12-16T18:59:37.258Z"},"0.2.3":{"name":"node-match-path","version":"0.2.3","description":"Matches a url against the given path.","esnext":"src/index.ts","main":"lib/cjs.js","module":"lib/esm.js","types":"lib/index.d.ts","author":{"name":"Artem Zakharchenko","email":"kettanaito@gmail.com"},"license":"MIT","keywords":["url","uri","path","route","mask","match","matcher","path-to-regexp","regexp","wildcard","params"],"scripts":{"test":"jest","clean":"rimraf -rf lib","build":"yarn clean && rollup -c rollup.config.js","prepublishOnly":"yarn test && yarn build"},"devDependencies":{"@babel/core":"^7.5.5","@babel/preset-env":"^7.5.5","@types/jest":"^24.0.15","jest":"^24.8.0","rimraf":"^2.6.3","rollup":"^1.17.0","rollup-plugin-babel":"^4.3.3","rollup-plugin-node-resolve":"^5.2.0","rollup-plugin-sourcemaps":"^0.4.2","rollup-plugin-typescript2":"^0.22.0","ts-jest":"^24.0.2","typescript":"^3.5.3"},"_id":"node-match-path@0.2.3","dist":{"shasum":"d237b87fdc8c925c21986634c0776dbd8c8a551a","size":1976,"noattachment":false,"key":"/node-match-path/-/node-match-path-0.2.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/node-match-path/download/node-match-path-0.2.3.tgz"},"maintainers":[{"name":"kettanaito","email":""}],"_npmUser":{"name":"kettanaito","email":"kettanaito@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/node-match-path_0.2.3_1583178733070_0.005238682059964805"},"_hasShrinkwrap":false,"publish_time":1583178733170,"_cnpm_publish_time":1583178733170,"_cnpmcore_publish_time":"2021-12-16T18:59:37.477Z"},"0.2.2":{"name":"node-match-path","version":"0.2.2","description":"Matches a url against the given path.","esnext":"src/index.ts","main":"lib/cjs.js","module":"lib/esm.js","types":"lib/index.d.ts","author":{"name":"Artem Zakharchenko","email":"kettanaito@gmail.com"},"license":"MIT","keywords":["url","uri","path","route","mask","match","matcher","path-to-regexp","regexp","wildcard","params"],"scripts":{"test":"jest","clean":"rimraf -rf lib","build":"yarn clean && rollup -c rollup.config.js","prepublishOnly":"yarn test && yarn build"},"devDependencies":{"@babel/core":"^7.5.5","@babel/preset-env":"^7.5.5","@types/jest":"^24.0.15","jest":"^24.8.0","rimraf":"^2.6.3","rollup":"^1.17.0","rollup-plugin-babel":"^4.3.3","rollup-plugin-node-resolve":"^5.2.0","rollup-plugin-sourcemaps":"^0.4.2","rollup-plugin-typescript2":"^0.22.0","ts-jest":"^24.0.2","typescript":"^3.5.3"},"_id":"node-match-path@0.2.2","dist":{"shasum":"36b43b0b0d623090ae329275eddf7b73829a006a","size":1986,"noattachment":false,"key":"/node-match-path/-/node-match-path-0.2.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/node-match-path/download/node-match-path-0.2.2.tgz"},"maintainers":[{"name":"kettanaito","email":""}],"_npmUser":{"name":"kettanaito","email":"kettanaito@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/node-match-path_0.2.2_1583143752816_0.8747208954049153"},"_hasShrinkwrap":false,"publish_time":1583143752960,"_cnpm_publish_time":1583143752960,"_cnpmcore_publish_time":"2021-12-16T18:59:37.685Z"},"0.2.1":{"name":"node-match-path","version":"0.2.1","description":"Matches a url against the given path.","esnext":"src/index.ts","main":"lib/cjs.js","module":"lib/esm.js","types":"lib","author":{"name":"Artem Zakharchenko","email":"kettanaito@gmail.com"},"license":"MIT","keywords":["url","uri","path","route","mask","match","matcher","path-to-regexp","regexp","wildcard","params"],"scripts":{"test":"jest","clean":"rimraf -rf lib","build":"yarn clean && rollup -c rollup.config.js","prepublishOnly":"yarn test && yarn build"},"devDependencies":{"@babel/core":"^7.5.5","@babel/preset-env":"^7.5.5","@types/jest":"^24.0.15","jest":"^24.8.0","rimraf":"^2.6.3","rollup":"^1.17.0","rollup-plugin-babel":"^4.3.3","rollup-plugin-node-resolve":"^5.2.0","rollup-plugin-sourcemaps":"^0.4.2","rollup-plugin-typescript2":"^0.22.0","ts-jest":"^24.0.2","typescript":"^3.5.3"},"_id":"node-match-path@0.2.1","dist":{"shasum":"70bb4e47ea62d29ec69399f7fe0327c2de06aee7","size":2416,"noattachment":false,"key":"/node-match-path/-/node-match-path-0.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/node-match-path/download/node-match-path-0.2.1.tgz"},"maintainers":[{"name":"kettanaito","email":""}],"_npmUser":{"name":"kettanaito","email":"kettanaito@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/node-match-path_0.2.1_1583142538714_0.09370130536771804"},"_hasShrinkwrap":false,"publish_time":1583142538852,"_cnpm_publish_time":1583142538852,"_cnpmcore_publish_time":"2021-12-16T18:59:37.871Z"},"0.2.0":{"name":"node-match-path","version":"0.2.0","description":"Matches a url against the given path.","esnext":"src/index.ts","main":"lib/cjs.js","module":"lib/esm.js","types":"lib","author":{"name":"Artem Zakharchenko","email":"kettanaito@gmail.com"},"license":"MIT","keywords":["url","uri","path","route","mask","match","matcher","path-to-regexp","regexp","wildcard","params"],"scripts":{"test":"jest","clean":"rimraf -rf lib","build":"yarn clean && rollup -c rollup.config.js","prepublishOnly":"yarn test && yarn build"},"devDependencies":{"@babel/core":"^7.5.5","@babel/preset-env":"^7.5.5","@types/jest":"^24.0.15","jest":"^24.8.0","rimraf":"^2.6.3","rollup":"^1.17.0","rollup-plugin-babel":"^4.3.3","rollup-plugin-node-resolve":"^5.2.0","rollup-plugin-sourcemaps":"^0.4.2","rollup-plugin-typescript2":"^0.22.0","ts-jest":"^24.0.2","typescript":"^3.5.3"},"_id":"node-match-path@0.2.0","dist":{"shasum":"2189e04e6401c6f6f4c60d49392b94c10e6e61c6","size":2265,"noattachment":false,"key":"/node-match-path/-/node-match-path-0.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/node-match-path/download/node-match-path-0.2.0.tgz"},"maintainers":[{"name":"kettanaito","email":""}],"_npmUser":{"name":"kettanaito","email":"kettanaito@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/node-match-path_0.2.0_1583141530821_0.9196826167527148"},"_hasShrinkwrap":false,"publish_time":1583141530926,"_cnpm_publish_time":1583141530926,"_cnpmcore_publish_time":"2021-12-16T18:59:38.161Z"},"0.1.0":{"name":"node-match-path","version":"0.1.0","description":"Matches a url against the given path.","esnext":"src/index.ts","main":"lib/cjs.js","module":"lib/esm.js","types":"lib","author":{"name":"Artem Zakharchenko","email":"kettanaito@gmail.com"},"license":"MIT","scripts":{"test":"jest","clean":"rimraf -rf lib","build":"yarn clean && rollup -c rollup.config.js","prepublishOnly":"yarn test && yarn build"},"devDependencies":{"@babel/core":"^7.5.5","@babel/preset-env":"^7.5.5","@types/jest":"^24.0.15","jest":"^24.8.0","rimraf":"^2.6.3","rollup":"^1.17.0","rollup-plugin-babel":"^4.3.3","rollup-plugin-node-resolve":"^5.2.0","rollup-plugin-sourcemaps":"^0.4.2","rollup-plugin-typescript2":"^0.22.0","ts-jest":"^24.0.2","typescript":"^3.5.3"},"_id":"node-match-path@0.1.0","dist":{"shasum":"a0f4723017be69c567d9d8f50c1f59186768524a","size":2043,"noattachment":false,"key":"/node-match-path/-/node-match-path-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/node-match-path/download/node-match-path-0.1.0.tgz"},"maintainers":[{"name":"kettanaito","email":""}],"_npmUser":{"name":"kettanaito","email":"kettanaito@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/node-match-path_0.1.0_1563976013901_0.049299901756753695"},"_hasShrinkwrap":false,"publish_time":1563976014033,"_cnpm_publish_time":1563976014033,"_cnpmcore_publish_time":"2021-12-16T18:59:38.386Z"}},"readme":"[![Package version](https://img.shields.io/npm/v/node-match-path.svg)](https://npmjs.com/package/node-match-path)\n\n# `node-match-path`\n\nMatches a URL against the given path.\n\n## Getting started\n\n### Install\n\n```bash\nnpm install node-match-path\n```\n\n## Usage\n\n```js\nconst { match } = require('node-match-path')\n\nmatch('/user/:userId', '/user/5')\n/*\n{\n  matches: true,\n  params: {\n    userId: '5'\n  }\n}\n*/\n```\n\n## API\n\n### `match(path: RegExp | string, url: string): Match`\n\nReturns a match data, if any, between a url and a path.\n\n#### String path\n\n```js\nmatch('/admin', '/admin')\n\n/*\n{\n  matches: true,\n  params: null\n}\n*/\n```\n\n#### Path parameters\n\n```js\nmatch('/admin/:messageId', '/admin/abc-123')\n\n/*\n{\n  matches: true,\n  params: {\n    messageId: 'abc-123'\n  }\n}\n*/\n```\n\n#### Wildcard\n\n```js\nmatch('/user/*/inbox', '/user/abc-123/inbox')\n\n/*\n{\n  matches: true,\n  params: null\n}\n*/\n```\n\n#### Regular expression\n\n```js\nmatch(/\\/messages\\/.+?\\/participants/, '/messages/5/participants')\n\n/*\n{\n  matches: true,\n  params: null\n}\n*/\n```\n\n## Honorable mentions\n\n- [`path-to-regexp`](https://github.com/pillarjs/path-to-regexp)\n","_attachments":{},"license":"MIT"}