{"_id":"@quoin/expressjs-routes-info","_rev":"31-05b18027e340873f61d53f0f4493b36b","name":"@quoin/expressjs-routes-info","description":"ExpressJS named routes","dist-tags":{"latest":"2.0.1","node14":"2.0.0"},"versions":{"0.1.0":{"name":"@quoin/expressjs-routes-info","version":"0.1.0","description":"ExpressJS named routes","main":"lib/index.js","scripts":{"lint":"npm run -s lint:node && npm run -s lint:test","lint:node":"eslint --fix --ignore-pattern '*.test.js' lib","lint:test":"eslint --fix --config=.eslintrc.test.json 'lib/**/*.test.js'","coverage":"npm run -s coverage:unit","coverage:unit":"nyc --report-dir=reports/coverage-unit npm run -s test:unit","test":"npm run -s test:unit","test:unit":"mocha 'lib/**/*.unit.test.js'"},"repository":{"type":"git","url":"git+https://github.com/Quoin/expressjs-routes-info.git"},"keywords":["ExpressJS","routes","resolver"],"author":{"name":"Huu Da Tran","email":"HuuDa.Tran@quoininc.com"},"license":"MIT","bugs":{"url":"https://github.com/Quoin/expressjs-routes-info/issues"},"homepage":"https://github.com/Quoin/expressjs-routes-info#readme","peerDependencies":{"express":">=4.0.0"},"dependencies":{"lodash":"4.17.4","url-template":"2.0.8"},"devDependencies":{"@quoin/node-test-helpers":"0.1.7","eslint":"3.19.0","eslint-config-standard":"7.1.0","eslint-plugin-html":"2.0.1","eslint-plugin-promise":"3.5.0","eslint-plugin-standard":"2.1.1","express":"4.15.2","mocha":"3.2.0","nyc":"10.2.0"},"gitHead":"90b0d6a845f71b377e551116d40996ed43019ea1","_id":"@quoin/expressjs-routes-info@0.1.0","_shasum":"63161317adff9bd46e4e107d8a17e464034e7066","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.10.1","_npmUser":{"name":"huuda.tran","email":"huuda.tran+npm@gmail.com"},"dist":{"shasum":"63161317adff9bd46e4e107d8a17e464034e7066","tarball":"https://registry.npmjs.org/@quoin/expressjs-routes-info/-/expressjs-routes-info-0.1.0.tgz","integrity":"sha512-7gz1P/He3qvzN0e/nzWW4X2PK6zoZ1GkN6Dk9L6AYVmUGE4iab81EsTE2YQVBERvlhEw0qU3+UfX3AI4MyhUqQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC+1uq/0bPLZCiFhdfMLB9OsB7ENjKONnzzWVm1Tt2mTAIhALzBWrvh5Aup9bdbQZK6E3xwzCKb9pLjqW7tZGUzxQr4"}]},"maintainers":[{"name":"huuda.tran","email":"huuda.tran+npm@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/expressjs-routes-info-0.1.0.tgz_1491341297527_0.518255231436342"},"directories":{}},"0.1.1":{"name":"@quoin/expressjs-routes-info","version":"0.1.1","description":"ExpressJS named routes","main":"lib/index.js","scripts":{"lint":"npm run -s lint:node && npm run -s lint:test","lint:node":"eslint --fix --ignore-pattern '*.test.js' lib","lint:test":"eslint --fix --config=.eslintrc.test.json 'lib/**/*.test.js'","coverage":"npm run -s coverage:unit","coverage:unit":"nyc --report-dir=reports/coverage-unit npm run -s test:unit","test":"npm run -s test:unit","test:unit":"mocha 'lib/**/*.unit.test.js'"},"repository":{"type":"git","url":"git+https://github.com/Quoin/expressjs-routes-info.git"},"keywords":["ExpressJS","routes","resolver"],"author":{"name":"Huu Da Tran","email":"HuuDa.Tran@quoininc.com"},"license":"MIT","bugs":{"url":"https://github.com/Quoin/expressjs-routes-info/issues"},"homepage":"https://github.com/Quoin/expressjs-routes-info#readme","peerDependencies":{"express":">=4.0.0"},"dependencies":{"lodash":"4.17.4","url-template":"2.0.8"},"devDependencies":{"@quoin/node-test-helpers":"0.1.7","eslint":"3.19.0","eslint-config-standard":"7.1.0","eslint-plugin-html":"2.0.1","eslint-plugin-promise":"3.5.0","eslint-plugin-standard":"2.1.1","express":"4.15.2","mocha":"3.2.0","nyc":"10.2.0"},"gitHead":"6538e7a50e2d3b759baf695fce027a2bca856e96","_id":"@quoin/expressjs-routes-info@0.1.1","_shasum":"c2dec47f3625902abb3cced177bb5282125e90a8","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.10.1","_npmUser":{"name":"huuda.tran","email":"huuda.tran+npm@gmail.com"},"dist":{"shasum":"c2dec47f3625902abb3cced177bb5282125e90a8","tarball":"https://registry.npmjs.org/@quoin/expressjs-routes-info/-/expressjs-routes-info-0.1.1.tgz","integrity":"sha512-n6MFhwOvIc61TdjWf1e4CyLkyeG/NCa3MtNpsR1eC0CeJrSGms0IEzg6UTXHAWss8dyX4Qg307cf1SY1wk6WZQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDXvJUB/GU6OaAni9yY3adlYQE8qGDkVJf7Q9vbdpZwDAIgWa+dFml9ldBE1KigO1AIwk8PBAKOQAw4cuO/IboMWsE="}]},"maintainers":[{"name":"huuda.tran","email":"huuda.tran+npm@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/expressjs-routes-info-0.1.1.tgz_1491405560029_0.1542527040001005"},"directories":{}},"0.1.2":{"name":"@quoin/expressjs-routes-info","version":"0.1.2","description":"ExpressJS named routes","main":"lib/index.js","scripts":{"lint":"npm run -s lint:node && npm run -s lint:test","lint:node":"eslint --fix --ignore-pattern '*.test.js' lib","lint:test":"eslint --fix --config=.eslintrc.test.json 'lib/**/*.test.js'","coverage":"npm run -s coverage:unit","coverage:unit":"nyc --report-dir=reports/coverage-unit npm run -s test:unit","test":"npm run -s test:unit","test:unit":"mocha 'lib/**/*.unit.test.js'"},"repository":{"type":"git","url":"git+https://github.com/Quoin/expressjs-routes-info.git"},"keywords":["ExpressJS","routes","resolver"],"author":{"name":"Huu Da Tran","email":"HuuDa.Tran@quoininc.com"},"license":"MIT","bugs":{"url":"https://github.com/Quoin/expressjs-routes-info/issues"},"homepage":"https://github.com/Quoin/expressjs-routes-info#readme","peerDependencies":{"express":">=4.0.0"},"dependencies":{"lodash":"4.17.4","url-template":"2.0.8"},"devDependencies":{"@quoin/node-test-helpers":"0.1.7","eslint":"3.19.0","eslint-config-standard":"7.1.0","eslint-plugin-html":"2.0.1","eslint-plugin-promise":"3.5.0","eslint-plugin-standard":"2.1.1","express":"4.15.2","mocha":"3.2.0","nyc":"10.2.0"},"gitHead":"c315e24bd16105f4802de8dcaf521c1c65b2b127","_id":"@quoin/expressjs-routes-info@0.1.2","_shasum":"1f4b451fab8539cef387dcc76c338eefe4dfbd69","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.10.1","_npmUser":{"name":"huuda.tran","email":"huuda.tran+npm@gmail.com"},"dist":{"shasum":"1f4b451fab8539cef387dcc76c338eefe4dfbd69","tarball":"https://registry.npmjs.org/@quoin/expressjs-routes-info/-/expressjs-routes-info-0.1.2.tgz","integrity":"sha512-QKF3zEzxbkhtKNv3UlKjj6xNDdNWjMtF4r0w6Xu0FqmisexstvtyNbnmA1YaGtnYyDAN/fAiqhKPEttqH1r5+Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCOzjP4elIoLqh3ireOhSkZENClAA2k1wJYQ8gTgR788wIhAKQHma64yCQY5SLFswWGJNS8z5bYhHgwLSphhQjJ2/cd"}]},"maintainers":[{"name":"huuda.tran","email":"huuda.tran+npm@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/expressjs-routes-info-0.1.2.tgz_1491414601555_0.22249657567590475"},"directories":{}},"0.1.3":{"name":"@quoin/expressjs-routes-info","version":"0.1.3","description":"ExpressJS named routes","main":"lib/index.js","engines":{"node":">=6.9.0"},"scripts":{"lint":"npm run -s lint:node && npm run -s lint:test","lint:node":"eslint --fix --ignore-pattern '*.test.js' lib","lint:test":"eslint --fix --config=.eslintrc.test.json 'lib/**/*.test.js'","coverage":"npm run -s coverage:unit","coverage:unit":"nyc --report-dir=reports/coverage-unit npm run -s test:unit","test":"npm run -s test:unit","test:unit":"mocha 'lib/**/*.unit.test.js'"},"repository":{"type":"git","url":"git+https://github.com/Quoin/expressjs-routes-info.git"},"keywords":["ExpressJS","routes","resolver"],"author":{"name":"Hữu Ðà Trần","email":"HuuDa.Tran@quoininc.com","url":"https://www.quoininc.com/staff/huu-da-tran/"},"license":"MIT","bugs":{"url":"https://github.com/Quoin/expressjs-routes-info/issues"},"homepage":"https://github.com/Quoin/expressjs-routes-info#readme","peerDependencies":{"express":">=4.0.0"},"dependencies":{"lodash":"4.17.4","url-template":"2.0.8"},"devDependencies":{"@quoin/node-test-helpers":"0.1.7","eslint":"3.19.0","eslint-config-standard":"10.0.0","eslint-plugin-html":"2.0.1","eslint-plugin-import":"2.2.0","eslint-plugin-node":"4.2.2","eslint-plugin-promise":"3.5.0","eslint-plugin-standard":"2.2.0","express":"4.15.2","mocha":"3.2.0","nyc":"10.2.0"},"gitHead":"8932722fe146128253b56cc7e10807fc8105df70","_id":"@quoin/expressjs-routes-info@0.1.3","_shasum":"f2f2bcd672998aff7c50911c22ccf4a5d780ea92","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.10.1","_npmUser":{"name":"huuda.tran","email":"huuda.tran+npm@gmail.com"},"dist":{"shasum":"f2f2bcd672998aff7c50911c22ccf4a5d780ea92","tarball":"https://registry.npmjs.org/@quoin/expressjs-routes-info/-/expressjs-routes-info-0.1.3.tgz","integrity":"sha512-btvxFyc/2vgzxyUcZJLmARqCitEJf5OTYjDdesPneuzH5pr+/JkNllmcl1k32TrGcYs50ck9oBuYeYL+RnxnIg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGRxB6gC/xU2F+MIpQP/z1LKHE9ieqFVVay71e3MoISvAiEAhlwSXfMb+9fSPWsA0F+mI2J5TcN/zGoN7xi3jVfBe/A="}]},"maintainers":[{"name":"huuda.tran","email":"huuda.tran+npm@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/expressjs-routes-info-0.1.3.tgz_1491422256944_0.916439566295594"},"directories":{}},"0.1.4":{"name":"@quoin/expressjs-routes-info","version":"0.1.4","description":"ExpressJS named routes","main":"lib/index.js","engines":{"node":">=6.9.0"},"scripts":{"lint":"npm run -s lint:node && npm run -s lint:test","lint:node":"eslint --fix --ignore-pattern '*.test.js' lib","lint:test":"eslint --fix --config=.eslintrc.test.json 'lib/**/*.test.js'","coverage":"npm run -s coverage:unit","coverage:unit":"nyc --report-dir=reports/coverage-unit npm run -s test:unit","test":"npm run -s test:unit","test:unit":"mocha 'lib/**/*.unit.test.js'"},"repository":{"type":"git","url":"git+https://github.com/Quoin/expressjs-routes-info.git"},"keywords":["ExpressJS","routes","resolver"],"author":{"name":"Hữu Ðà Trần","email":"HuuDa.Tran@quoininc.com","url":"https://www.quoininc.com/staff/huu-da-tran/"},"license":"MIT","bugs":{"url":"https://github.com/Quoin/expressjs-routes-info/issues"},"homepage":"https://github.com/Quoin/expressjs-routes-info#readme","peerDependencies":{"express":">=4.0.0"},"dependencies":{"lodash":"4.17.4","url-template":"2.0.8"},"devDependencies":{"@quoin/node-test-helpers":"0.1.7","eslint":"3.19.0","eslint-config-standard":"10.0.0","eslint-plugin-html":"2.0.1","eslint-plugin-import":"2.2.0","eslint-plugin-node":"4.2.2","eslint-plugin-promise":"3.5.0","eslint-plugin-standard":"2.2.0","express":"4.15.2","mocha":"3.2.0","nyc":"10.2.0"},"gitHead":"89e133dae786425bc560341c8e8f199a8c80117b","_id":"@quoin/expressjs-routes-info@0.1.4","_shasum":"f0ac5933d7e6fdfb059e05a36bbb7d25ab346799","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.10.1","_npmUser":{"name":"huuda.tran","email":"huuda.tran+npm@gmail.com"},"dist":{"shasum":"f0ac5933d7e6fdfb059e05a36bbb7d25ab346799","tarball":"https://registry.npmjs.org/@quoin/expressjs-routes-info/-/expressjs-routes-info-0.1.4.tgz","integrity":"sha512-diopOfCrbCCL/eTk38NGnQGW4ofeaLThqfVpncz96D1KEYJ6ais9Jne/aMUL+HKH8KStRZSyyG0Js46lfs9nyg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD5tYdBYmOXHSab0Yphgbm2Xk/KoFlOCWiGdqeFINR2qQIgXBlUELdWosHxsJTInAZdIfu94DpoCi+Hfvg0kck/JRs="}]},"maintainers":[{"name":"huuda.tran","email":"huuda.tran+npm@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/expressjs-routes-info-0.1.4.tgz_1491862398131_0.8748045333195478"},"directories":{}},"0.1.5":{"name":"@quoin/expressjs-routes-info","version":"0.1.5","description":"ExpressJS named routes","main":"lib/index.js","engines":{"node":">=6.9.0"},"scripts":{"lint":"npm run -s lint:node && npm run -s lint:test","lint:node":"eslint --fix --ignore-pattern '*.test.js' lib","lint:test":"eslint --fix --config=.eslintrc.test.json 'lib/**/*.test.js'","coverage":"npm run -s coverage:unit","coverage:unit":"nyc --report-dir=reports/coverage-unit npm run -s test:unit","test":"npm run -s test:unit","test:unit":"mocha 'lib/**/*.unit.test.js'"},"repository":{"type":"git","url":"git+https://github.com/Quoin/expressjs-routes-info.git"},"keywords":["ExpressJS","routes","resolver"],"author":{"name":"Hữu Ðà Trần","email":"HuuDa.Tran@quoininc.com","url":"https://www.quoininc.com/staff/huu-da-tran/"},"license":"MIT","bugs":{"url":"https://github.com/Quoin/expressjs-routes-info/issues"},"homepage":"https://github.com/Quoin/expressjs-routes-info#readme","peerDependencies":{"express":">=4.0.0"},"dependencies":{"lodash":"4.17.4","url-template":"2.0.8"},"devDependencies":{"@quoin/node-test-helpers":"0.1.7","eslint":"3.19.0","eslint-config-standard":"10.0.0","eslint-plugin-html":"2.0.1","eslint-plugin-import":"2.2.0","eslint-plugin-node":"4.2.2","eslint-plugin-promise":"3.5.0","eslint-plugin-standard":"2.2.0","express":"4.15.2","mocha":"3.2.0","nyc":"10.2.0"},"gitHead":"589bf049fa43e9275851f8f037adc5c87fc72476","_id":"@quoin/expressjs-routes-info@0.1.5","_shasum":"55f4458e514c0b2d97f72a5490ff184e0146e4c1","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.10.1","_npmUser":{"name":"huuda.tran","email":"huuda.tran+npm@gmail.com"},"dist":{"shasum":"55f4458e514c0b2d97f72a5490ff184e0146e4c1","tarball":"https://registry.npmjs.org/@quoin/expressjs-routes-info/-/expressjs-routes-info-0.1.5.tgz","integrity":"sha512-Xui9Vlt1zh2y5lxBItjMNSsQyPBfY71AScARvQwGVnRzUUYD0Ffuf4zokIeXexfW3z1diXp+3zsKS8Ftwrm24Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIQCwPxG+PjHjS6U4BhLiw+QX3jMeI1Y4kqh/ygynuv9MFQIfPt5UjxGc22582FEoLFOF26FPm96OAocTSyQo9uXyHQ=="}]},"maintainers":[{"name":"huuda.tran","email":"huuda.tran+npm@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/expressjs-routes-info-0.1.5.tgz_1491926664121_0.702005623606965"},"directories":{}},"0.1.6":{"name":"@quoin/expressjs-routes-info","version":"0.1.6","description":"ExpressJS named routes","main":"lib/index.js","engines":{"node":">=6.9.0"},"scripts":{"lint":"npm run -s lint:node && npm run -s lint:test","lint:node":"eslint --fix --ignore-pattern '*.test.js' lib","lint:test":"eslint --fix --config=.eslintrc.test.json 'lib/**/*.test.js'","coverage":"npm run -s coverage:unit","coverage:unit":"nyc --report-dir=reports/coverage-unit npm run -s test:unit","test":"npm run -s test:unit","test:unit":"mocha 'lib/**/*.unit.test.js'"},"repository":{"type":"git","url":"git+https://github.com/Quoin/expressjs-routes-info.git"},"keywords":["ExpressJS","routes","resolver"],"author":{"name":"Hữu Ðà Trần","email":"HuuDa.Tran@quoininc.com","url":"https://www.quoininc.com/staff/huu-da-tran/"},"license":"MIT","bugs":{"url":"https://github.com/Quoin/expressjs-routes-info/issues"},"homepage":"https://github.com/Quoin/expressjs-routes-info#readme","peerDependencies":{"express":">=4.0.0"},"dependencies":{"lodash":"4.17.4","url-template":"2.0.8"},"devDependencies":{"@quoin/node-test-helpers":"0.2.1","eslint":"3.19.0","eslint-config-standard":"10.2.1","eslint-plugin-html":"2.0.1","eslint-plugin-import":"2.2.0","eslint-plugin-node":"4.2.2","eslint-plugin-promise":"3.5.0","eslint-plugin-standard":"3.0.1","express":"4.15.2","mocha":"3.3.0","nyc":"10.3.0"},"gitHead":"a3026e2ac1feea17dba4811a9df092184f3c6aa0","_id":"@quoin/expressjs-routes-info@0.1.6","_shasum":"56474b527a00c65895eb8af61394fa58c3f78de8","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.10.2","_npmUser":{"name":"huuda.tran","email":"huuda.tran+npm@gmail.com"},"dist":{"shasum":"56474b527a00c65895eb8af61394fa58c3f78de8","tarball":"https://registry.npmjs.org/@quoin/expressjs-routes-info/-/expressjs-routes-info-0.1.6.tgz","integrity":"sha512-t4x6WTGw04CLYIrVQi8W/gKIr9zCfNq7m1UB6muK1beRckSNlFYZNO8Hf6SzkqB0e2CSx9tq+NVNl3ZXtfVy2A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDAL+NyF76bsuYTK2oms29jwcosIaRHsRE0Tmi9ionFKAIgJRYr/zYe6ZO9dHK7lqfNE3y5TYepSm/nO5KTyCpB36U="}]},"maintainers":[{"name":"huuda.tran","email":"huuda.tran+npm@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/expressjs-routes-info-0.1.6.tgz_1493748526485_0.4217294768895954"},"directories":{}},"0.1.7":{"name":"@quoin/expressjs-routes-info","version":"0.1.7","description":"ExpressJS named routes","main":"lib/index.js","engines":{"node":">=6.9.0"},"scripts":{"lint":"npm run -s lint:node && npm run -s lint:test","lint:node":"eslint --fix --ignore-pattern '*.test.js' lib","lint:test":"eslint --fix --config=.eslintrc.test.json 'lib/**/*.test.js'","coverage":"npm run -s coverage:unit","coverage:unit":"nyc --report-dir=reports/coverage-unit npm run -s test:unit","test":"npm run -s test:unit","test:unit":"mocha 'lib/**/*.unit.test.js'"},"repository":{"type":"git","url":"git+https://github.com/Quoin/expressjs-routes-info.git"},"keywords":["ExpressJS","routes","resolver"],"author":{"name":"Hữu Ðà Trần","email":"HuuDa.Tran@quoininc.com","url":"https://www.quoininc.com/staff/huu-da-tran/"},"license":"MIT","bugs":{"url":"https://github.com/Quoin/expressjs-routes-info/issues"},"homepage":"https://github.com/Quoin/expressjs-routes-info#readme","peerDependencies":{"express":">=4.0.0"},"dependencies":{"lodash":"4.17.4","url-template":"2.0.8"},"devDependencies":{"@quoin/node-test-helpers":"0.2.1","eslint":"3.19.0","eslint-config-standard":"10.2.1","eslint-plugin-html":"2.0.3","eslint-plugin-import":"2.3.0","eslint-plugin-node":"5.0.0","eslint-plugin-promise":"3.5.0","eslint-plugin-standard":"3.0.1","express":"4.15.3","mocha":"3.4.2","nyc":"11.0.2"},"gitHead":"45ab903c01cf89167604ff9b3bd89230070e6889","_id":"@quoin/expressjs-routes-info@0.1.7","_shasum":"63b99ad66981acb79c4f092b9accb3611a3d07de","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.10.3","_npmUser":{"name":"huuda.tran","email":"huuda.tran+npm@gmail.com"},"dist":{"shasum":"63b99ad66981acb79c4f092b9accb3611a3d07de","tarball":"https://registry.npmjs.org/@quoin/expressjs-routes-info/-/expressjs-routes-info-0.1.7.tgz","integrity":"sha512-vIcyr5nT4efKcBdkNR0J4G4/N3lEdfvDcXSX0r+h8ZXiNDpfxxqgXo9dEc2A7FpCiWLWGUHgksjx5EoxjJFcBQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCjjlkg0TYRe66I055QIeHlzpO2WYZgQxGz4OvQPJk68gIhALn++rfI1zVql5aF6lAJqCJ4iL4TKBrBliKJlnQn0UTL"}]},"maintainers":[{"name":"huuda.tran","email":"huuda.tran+npm@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/expressjs-routes-info-0.1.7.tgz_1496689340820_0.16728757973760366"},"directories":{}},"0.1.8":{"name":"@quoin/expressjs-routes-info","version":"0.1.8","description":"ExpressJS named routes","main":"lib/index.js","engines":{"node":">=6.9.0"},"scripts":{"lint":"npm run -s lint:node && npm run -s lint:test","lint:node":"eslint --fix --ignore-pattern '*.test.js' lib","lint:test":"eslint --fix --config=.eslintrc.test.json 'lib/**/*.test.js'","coverage":"npm run -s coverage:unit","coverage:unit":"nyc --report-dir=reports/coverage-unit npm run -s test:unit","test":"npm run -s test:unit","test:unit":"mocha \"lib/**/*.unit.test.js\""},"repository":{"type":"git","url":"git+https://github.com/Quoin/expressjs-routes-info.git"},"keywords":["ExpressJS","routes","resolver"],"author":{"name":"Hữu Ðà Trần","email":"HuuDa.Tran@quoininc.com","url":"https://www.quoininc.com/staff/huu-da-tran/"},"license":"MIT","bugs":{"url":"https://github.com/Quoin/expressjs-routes-info/issues"},"homepage":"https://github.com/Quoin/expressjs-routes-info#readme","peerDependencies":{"express":">=4.0.0"},"dependencies":{"lodash":"4.17.4","url-template":"2.0.8"},"devDependencies":{"@quoin/node-test-helpers":"latest","eslint":"4.3.0","eslint-config-standard":"10.2.1","eslint-plugin-html":"3.1.1","eslint-plugin-import":"2.7.0","eslint-plugin-node":"5.1.1","eslint-plugin-promise":"3.5.0","eslint-plugin-standard":"3.0.1","express":"4.15.3","mocha":"3.5.0","nyc":"11.1.0"},"gitHead":"6064aa3f292fbce0e29a84f11f5ac175b6822b6e","_id":"@quoin/expressjs-routes-info@0.1.8","_shasum":"7fba178255ecfec0d4b6791a79fc2307100575dc","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.11.1","_npmUser":{"name":"huuda.tran","email":"huuda.tran+npm@gmail.com"},"dist":{"shasum":"7fba178255ecfec0d4b6791a79fc2307100575dc","tarball":"https://registry.npmjs.org/@quoin/expressjs-routes-info/-/expressjs-routes-info-0.1.8.tgz","integrity":"sha512-gxqHNyE0rlO6KnqW0lFKfJYyNO+yjqumHI671lBD06DIrqv9IDqmc0QzeHLtRfme0ncw8RXYFNK3hiJRXhN6LQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBZdAQvL7TFZMGIED5Coio6x7ln75vax6wX2kntXMwfKAiEAqmt9DwcELO0lA488jJYz6hGoFsY+aKrPvlrNW5R92HQ="}]},"maintainers":[{"name":"huuda.tran","email":"huuda.tran+npm@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/expressjs-routes-info-0.1.8.tgz_1501786630446_0.34041944495402277"},"directories":{}},"0.1.9":{"name":"@quoin/expressjs-routes-info","version":"0.1.9","description":"ExpressJS named routes","main":"lib/index.js","engines":{"node":">=6.9.0"},"scripts":{"lint":"npm run -s lint:node && npm run -s lint:test","lint:node":"eslint --fix --ignore-pattern '*.test.js' lib","lint:test":"eslint --fix --config=.eslintrc.test.json 'lib/**/*.test.js'","coverage":"npm run -s coverage:unit","coverage:unit":"nyc --report-dir=reports/coverage-unit npm run -s test:unit","test":"npm run -s test:unit","test:unit":"mocha \"lib/**/*.unit.test.js\""},"repository":{"type":"git","url":"git+https://github.com/Quoin/expressjs-routes-info.git"},"keywords":["ExpressJS","routes","resolver"],"author":{"name":"Hữu Ðà Trần","email":"HuuDa.Tran@quoininc.com","url":"https://www.quoininc.com/staff/huu-da-tran/"},"license":"MIT","bugs":{"url":"https://github.com/Quoin/expressjs-routes-info/issues"},"homepage":"https://github.com/Quoin/expressjs-routes-info#readme","peerDependencies":{"express":">=4.0.0"},"dependencies":{"lodash":"4.17.4","url-template":"2.0.8"},"devDependencies":{"@quoin/node-test-helpers":"latest","eslint":"4.4.1","eslint-config-standard":"10.2.1","eslint-plugin-html":"3.2.0","eslint-plugin-import":"2.7.0","eslint-plugin-node":"5.1.1","eslint-plugin-promise":"3.5.0","eslint-plugin-standard":"3.0.1","express":"4.15.4","mocha":"3.5.0","nyc":"11.1.0"},"gitHead":"cb9fb7e79a3ce97fd2097a142c84949333797cac","_id":"@quoin/expressjs-routes-info@0.1.9","_shasum":"17cb97bd7b082c1517b52111adab5449aadfca55","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.11.1","_npmUser":{"name":"huuda.tran","email":"huuda.tran+npm@gmail.com"},"dist":{"shasum":"17cb97bd7b082c1517b52111adab5449aadfca55","tarball":"https://registry.npmjs.org/@quoin/expressjs-routes-info/-/expressjs-routes-info-0.1.9.tgz","integrity":"sha512-484DitJWjqaR8H2uY2+EwPtQWr/Z1bpxyfQKVUnbkxEOZ9paJKNxAw88Fcif10rlb3yPVJVqnRPhobgY3hGGcg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDAviHKAEkwmux8el4gL3/1uqSSC08ejA/e+1z/ovmS0AIgcW07kOwyY1QVYFf7eiRcBFWAqf7rGjlBq+SG+ot5hoM="}]},"maintainers":[{"name":"huuda.tran","email":"huuda.tran+npm@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/expressjs-routes-info-0.1.9.tgz_1502822741957_0.672395073575899"},"directories":{}},"0.1.10":{"name":"@quoin/expressjs-routes-info","version":"0.1.10","description":"ExpressJS named routes","main":"lib/index.js","engines":{"node":">=6.9.0"},"scripts":{"lint":"npm run -s lint:node && npm run -s lint:test","lint:node":"eslint --fix --ignore-pattern '*.test.js' lib","lint:test":"eslint --fix --config=.eslintrc.test.json 'lib/**/*.test.js'","coverage":"npm run -s coverage:unit","coverage:unit":"nyc --report-dir=reports/coverage-unit npm run -s test:unit","test":"npm run -s test:unit","test:unit":"mocha \"lib/**/*.unit.test.js\""},"repository":{"type":"git","url":"git+https://github.com/Quoin/expressjs-routes-info.git"},"keywords":["ExpressJS","routes","resolver"],"author":{"name":"Hữu Ðà Trần","email":"HuuDa.Tran@quoininc.com","url":"https://www.quoininc.com/staff/huu-da-tran/"},"license":"MIT","bugs":{"url":"https://github.com/Quoin/expressjs-routes-info/issues"},"homepage":"https://github.com/Quoin/expressjs-routes-info#readme","peerDependencies":{"express":">=4.0.0"},"dependencies":{"lodash":"4.17.4","url-template":"2.0.8"},"devDependencies":{"@quoin/node-test-helpers":"latest","eslint":"4.4.1","eslint-config-standard":"10.2.1","eslint-plugin-html":"3.2.0","eslint-plugin-import":"2.7.0","eslint-plugin-node":"5.1.1","eslint-plugin-promise":"3.5.0","eslint-plugin-standard":"3.0.1","express":"4.15.4","mocha":"3.5.0","nyc":"11.1.0"},"gitHead":"7fc0d3280c729b7758d517327eb181c0d225d9b8","_id":"@quoin/expressjs-routes-info@0.1.10","_shasum":"0b48994c72e80442bd383da520d401979974b1c2","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.11.1","_npmUser":{"name":"huuda.tran","email":"huuda.tran+npm@gmail.com"},"dist":{"shasum":"0b48994c72e80442bd383da520d401979974b1c2","tarball":"https://registry.npmjs.org/@quoin/expressjs-routes-info/-/expressjs-routes-info-0.1.10.tgz","integrity":"sha512-qwHSbS6kdAIPyXV4I+qDTDPNOs3QwM0CF2FV4NFBY/hZ5EGSJczDjbkasiaDQSCm/lpqmkzqsNF02m4J5deNkw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCcJPWr/CKOSJClkkg9rTUnTBDcfzllRIA+LLSSpgzLIwIgX9nQQlHFj+5JFXxR3J4Xu+6M89qj3Tf50VRv8fJwzyc="}]},"maintainers":[{"name":"huuda.tran","email":"huuda.tran+npm@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/expressjs-routes-info-0.1.10.tgz_1502899075837_0.014430907554924488"},"directories":{}},"0.2.0":{"name":"@quoin/expressjs-routes-info","version":"0.2.0","description":"ExpressJS named routes","main":"lib/index.js","engines":{"node":">=6.9.0"},"scripts":{"prepublish":"npm run -s lint && npm run -s coverage","lint":"npm run -s lint:node && npm run -s lint:test","lint:node":"eslint --fix --ignore-pattern '*.test.js' lib","lint:test":"eslint --fix --config=.eslintrc.test.json 'lib/**/*.test.js'","coverage":"npm run -s coverage:unit","coverage:unit":"nyc --report-dir=reports/coverage-unit npm run -s test:unit","test":"npm run -s test:unit","test:unit":"mocha \"lib/**/*.unit.test.js\""},"repository":{"type":"git","url":"git+https://github.com/Quoin/expressjs-routes-info.git"},"keywords":["ExpressJS","routes","resolver"],"author":{"name":"Hữu Ðà Trần","email":"HuuDa.Tran@quoininc.com","url":"https://www.quoininc.com/staff/huu-da-tran/"},"license":"MIT","bugs":{"url":"https://github.com/Quoin/expressjs-routes-info/issues"},"homepage":"https://github.com/Quoin/expressjs-routes-info#readme","peerDependencies":{"express":">=4.0.0"},"dependencies":{"lodash":"4.17.4","url-template":"2.0.8"},"devDependencies":{"@quoin/node-test-helpers":"latest","eslint":"4.13.x","eslint-config-standard":"10.2.x","eslint-plugin-html":"4.0.x","eslint-plugin-import":"2.8.x","eslint-plugin-node":"5.2.x","eslint-plugin-promise":"3.6.x","eslint-plugin-standard":"3.0.1","express":"4.16.x","mocha":"4.0.x","nyc":"11.3.x"},"gitHead":"138ee870957a36b7f0edf9d437e2b48266d17d99","_id":"@quoin/expressjs-routes-info@0.2.0","_shasum":"775b8ff6d9f8d279611da71e1b717b8d8c8f5c96","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.12.1","_npmUser":{"name":"huuda.tran","email":"huuda.tran@gmail.com"},"dist":{"shasum":"775b8ff6d9f8d279611da71e1b717b8d8c8f5c96","tarball":"https://registry.npmjs.org/@quoin/expressjs-routes-info/-/expressjs-routes-info-0.2.0.tgz","integrity":"sha512-s6GoGMKIotckyyY0qFaaKDQVhPRfYMchp8yn4/vCx7y06qfUFkUtg2pC7pA217fPG54bdQktTH0s+6OObxNnQQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAL0RF1+a2x0MJE4GY02RkG8zouxv7POfK7sSN5J7/qdAiBOkKXLal7ep8ELyAVn/jsPgFxZvdgIjxRBEdtxhGIrVQ=="}]},"maintainers":[{"name":"huuda.tran","email":"huuda.tran+npm@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/expressjs-routes-info-0.2.0.tgz_1513634237894_0.9229654192458838"},"directories":{}},"0.2.1":{"name":"@quoin/expressjs-routes-info","version":"0.2.1","description":"ExpressJS named routes","main":"lib/index.js","engines":{"node":">=8.12.0"},"scripts":{"prepare":"npm run -s lint","prepack":"npm run -s coverage","lint":"npm run -s lint:node && npm run -s lint:test","lint:node":"eslint --fix --ignore-pattern '*.test.js' lib","lint:test":"eslint --fix --config=.eslintrc.test.json 'lib/**/*.test.js'","coverage":"npm run -s coverage:unit","coverage:unit":"nyc --report-dir=reports/coverage-unit npm run -s test:unit","test":"npm run -s test:unit","test:unit":"mocha \"lib/**/*.unit.test.js\""},"repository":{"type":"git","url":"git+https://github.com/Quoin/expressjs-routes-info.git"},"keywords":["ExpressJS","routes","resolver"],"author":{"name":"Hữu Ðà Trần","email":"HuuDa.Tran@quoininc.com","url":"https://www.quoininc.com/staff/huu-da-tran/"},"license":"MIT","bugs":{"url":"https://github.com/Quoin/expressjs-routes-info/issues"},"homepage":"https://github.com/Quoin/expressjs-routes-info#readme","peerDependencies":{"express":">=4.0.0"},"dependencies":{"lodash":"~4.17.11","url-template":"2.0.8"},"devDependencies":{"@quoin/node-test-helpers":"latest","eslint":"~5.10.0","eslint-config-standard":"~12.0.0","eslint-plugin-html":"~5.0.0","eslint-plugin-import":"~2.14.0","eslint-plugin-node":"~8.0.0","eslint-plugin-promise":"~4.0.1","eslint-plugin-standard":"~4.0.0","express":"4.16.x","mocha":"~5.2.0","nyc":"~13.1.0"},"gitHead":"e4a99512813b134876b28f7747d5c61dbc1bfcff","_id":"@quoin/expressjs-routes-info@0.2.1","_npmVersion":"6.5.0","_nodeVersion":"8.14.0","_npmUser":{"name":"huuda.tran","email":"huuda.tran@gmail.com"},"dist":{"integrity":"sha512-638TpDaSNv5oX3ZrD9eCLXH1mgtkfiBkaBiOalU7TpriO1MccqwQyRagOlK/LDS594ezpP44Y/+jmfXed8ie3Q==","shasum":"fd93c9d858fa89b62f5935a74f6da7beb40afed0","tarball":"https://registry.npmjs.org/@quoin/expressjs-routes-info/-/expressjs-routes-info-0.2.1.tgz","fileCount":13,"unpackedSize":13056,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcETyXCRA9TVsSAnZWagAAy44P+QAAI8xOmgR/2wzKpJUC\nGpMUHjjBcC849gvq5Om9FbITjk8/CrWG8wpWb5xhHykskGqO+DDBtvqgJFjW\nny5NT9WPflER5Z0QNa7WBe3YNidfyD2brPd9qt6oHUWBktG9A0L7dQM8W9dh\nbekbvGZTWymOVJtKF10DtdkY80S1WGX+wh6TIu8P3573L9r8WyyKzfb21b4f\nwsRe6jMveQGvmKULZLDClYEUoL3Q8Do1sfXJCbNB9UHbUOzQNcqGtIMLzahq\n+imGr9f9g0f+1TTUwNvcadtqzA+TRVLp80ZZwhIQRrgm68Uefu7NPLztFHEh\n/Kw0icLh5Jvk8CnMLGyKqACOY55GMHNva0mrpPgDiCC3WvxV2A5hOWWSRL2N\nBJcxXdyoU8vGjLcH0YtyGFHvUR1hahDzVuDyJyQllZbcw2uxS2aXK5321P2w\neQxqRMdZk+qhQIBYLRcf+afJVy2AlQh/b2P4mfPj8Kh8kKbWexTZ1ec1U6K7\nwCUjLv0zzye/iXGyOG42ayzyhXgslI/0jLc3p1KqbQ9YzIMH12IrP1EwAbPa\n9WLiWiwA+KwpqnfsXBaI+TcFhE2bIf1BsR+7xl8fPV0Mm2JlK2XmAJrfweQb\n1Q4iH1sJ86HhtLWpXcWR+hstpxrPoSfQwJ/XDjf1hDBhuNOaZulO9DOhtChs\nI9Qb\r\n=Vj7J\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIC1cw5PlW+3XDia3wi7PMlav0Kj9iDDohSMaU137ASzEAiAIrzOdfWR18H7nIJ9yi56Wdb8fCTiipM1m2E5uX/l1MA=="}]},"maintainers":[{"email":"huuda.tran@gmail.com","name":"huuda.tran"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/expressjs-routes-info_0.2.1_1544633495263_0.6313289385730021"},"_hasShrinkwrap":false},"0.2.2":{"name":"@quoin/expressjs-routes-info","version":"0.2.2","description":"ExpressJS named routes","main":"lib/index.js","engines":{"node":">=8.12.0"},"scripts":{"prepare":"npm run -s lint","prepack":"npm run -s coverage","lint":"npm run -s lint:node && npm run -s lint:test","lint:node":"eslint --fix --ignore-pattern '*.test.js' lib","lint:test":"eslint --fix --config=.eslintrc.test.json '*.test.js' 'lib/**/*.test.js'","coverage":"npm run -s coverage:unit","coverage:unit":"nyc --report-dir=reports/coverage-unit npm run -s test:unit","test":"npm run -s test:unit","test:unit":"mocha '*.unit.test.js' 'lib/**/*.unit.test.js'"},"repository":{"type":"git","url":"git+https://github.com/Quoin/expressjs-routes-info.git"},"keywords":["ExpressJS","routes","resolver"],"author":{"name":"Hữu Ðà Trần","email":"HuuDa.Tran@quoininc.com","url":"https://www.quoininc.com/staff/huu-da-tran/"},"license":"MIT","bugs":{"url":"https://github.com/Quoin/expressjs-routes-info/issues"},"homepage":"https://github.com/Quoin/expressjs-routes-info#readme","peerDependencies":{"express":">=4.0.0"},"dependencies":{"debug":"~4.1.1","lodash":"~4.17.14","url-template":"~2.0.8"},"devDependencies":{"@quoin/node-test-helpers":"~1.0.3","eslint":"~6.0.1","eslint-config-standard":"~13.0.1","eslint-plugin-html":"~6.0.0","eslint-plugin-import":"~2.18.0","eslint-plugin-node":"~9.1.0","eslint-plugin-promise":"~4.2.1","eslint-plugin-standard":"~4.0.0","express":"~4.17.1","mocha":"~6.1.4","nyc":"~14.1.0"},"gitHead":"8c599371f993aa80bcb0888ded9e31d0f225fbb6","_id":"@quoin/expressjs-routes-info@0.2.2","_nodeVersion":"8.12.0","_npmVersion":"6.10.0","dist":{"integrity":"sha512-G8Ym9yl0BihTuSF2/eV76CtrRKJdITCmNTROWRR3frIznjhlroMpJJEnKS1MjZMKhWoiZ6UZYAoGWyenPqO8oA==","shasum":"70bf744ea695f44ca270eae2b31e9b57e3ab9a67","tarball":"https://registry.npmjs.org/@quoin/expressjs-routes-info/-/expressjs-routes-info-0.2.2.tgz","fileCount":17,"unpackedSize":16131,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdLikwCRA9TVsSAnZWagAAl2UP/AqWZnzZk2DortKDRFTw\nO4o/3b1k1McBa8R8uV6jJpPbxbhtNHUxSXdp0SbYFM15MJI/gmXOuSwu89qG\ncHYZ8EImx11t3oNu7qwB111vC551GkwIzPfifO2ely02f+RnVOLOUEb4gB45\n+DQdvhoYgq5mJE0XroQHDa8Lyz41Y9uAwry69lHhPjXoWBqpYFU2NpvsKHF+\nCuMK8MS2nr/3tu+nqYh1akIU+f7dnKiwcAYwtRca79z3jDb0FxOpPygeRxVT\nGdBMeeAC+dDnOIlXY62Tb1shNULpFHcb93wPmpWFfUecSBWEBFJkQBRh3q05\nRi7rOnZMORyskBiKCnqXrzOXlLqiErdI/haJ0qXQz6X9qixVwt9PuR1F04a/\n0Lpsr9u2UGyV8LmMtJT79wMcIBU3PDyY27M5qmQXrgIk7VAM73z9H6PDEsKO\n1wODDNHeCwXYpM7jAXTZXiaVfJCqIuhdeE/eu/hfOXst4nHv0byg3EeNZuNz\nXmZL+f/VTstm9CouNJGqAj1sHD/+Nd0pYTcrQmNQ8taK5cCLAVGAa89P7vV9\nEM50RjIIBidnOG5N1vZOqrkigvvn062M22nNstolJ8nQvGNAJK8Z83qeAd1t\n/cmdUnfUEjYF8vqo5SYHTAdXP9wwbdRK5mcmH37Vdz49pqdR000+F0C9dLul\nrlsf\r\n=7ykn\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBW4KPGeB6IewiGGl4SS4s/cWKyDNdDJPa3Pr+xmDn0sAiAOOGa38yF/GfKPDT2Uer28ujMY98easrmopd3Zv4Bw4A=="}]},"maintainers":[{"email":"huuda.tran@gmail.com","name":"huuda.tran"}],"_npmUser":{"name":"huuda.tran","email":"huuda.tran@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/expressjs-routes-info_0.2.2_1563306288228_0.22264708698751257"},"_hasShrinkwrap":false},"0.2.3":{"name":"@quoin/expressjs-routes-info","version":"0.2.3","description":"ExpressJS named routes","main":"lib/index.js","engines":{"node":">=8.12.0"},"scripts":{"prepare":"npm run -s eslint","prepack":"npm run -s coverage","eslint":"npm run -s eslint:node && npm run -s eslint:test","eslint:node":"eslint --fix --ignore-pattern '*.test.js' lib","eslint:test":"eslint --fix --config=.eslintrc.test.json '*.test.js' 'lib/**/*.test.js'","coverage":"npm run -s coverage:unit","coverage:unit":"nyc --report-dir=reports/coverage-unit npm run -s test:unit","test":"npm run -s test:unit","test:unit":"mocha '*.unit.test.js' 'lib/**/*.unit.test.js'"},"repository":{"type":"git","url":"git+https://github.com/Quoin/expressjs-routes-info.git"},"keywords":["ExpressJS","routes","resolver"],"author":{"name":"Hữu Ðà Trần","email":"HuuDa.Tran@quoininc.com","url":"https://www.quoininc.com/staff/huu-da-tran/"},"license":"MIT","bugs":{"url":"https://github.com/Quoin/expressjs-routes-info/issues"},"homepage":"https://github.com/Quoin/expressjs-routes-info#readme","peerDependencies":{"express":">=4.0.0"},"dependencies":{"debug":"^4.3.1","lodash":"^4.17.21","url-template":"~2.0.8"},"devDependencies":{"@quoin/node-test-helpers":"~1.0.3","eslint":"^7.28.0","eslint-config-standard":"^16.0.3","eslint-plugin-html":"^6.1.2","eslint-plugin-import":"^2.23.4","eslint-plugin-node":"~11.1.0","eslint-plugin-promise":"^5.1.0","eslint-plugin-standard":"^5.0.0","express":"~4.17.1","mocha":"^8.4.0","nyc":"~15.1.0"},"gitHead":"982feb45096bec66acd4c1c8fe8e9d6412128d3c","_id":"@quoin/expressjs-routes-info@0.2.3","_nodeVersion":"10.24.1","_npmVersion":"6.14.12","dist":{"integrity":"sha512-zD98wdVqsrmIZAXGt/bAI/Pqu31EML/9XfRW1sv/Q9+3tjdpxzBG+i3OiUZAknVF4QS8BN+JrgZbRccOZeqK6Q==","shasum":"d457db9767a2b218b2e54fd35660742d1b6c7631","tarball":"https://registry.npmjs.org/@quoin/expressjs-routes-info/-/expressjs-routes-info-0.2.3.tgz","fileCount":18,"unpackedSize":17051,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgwixoCRA9TVsSAnZWagAAV1gP/jnuOzVAwI6j8gED+dKv\nzoauk+StC7965Mm7E5rJVMdtm9acsKJHUNuARlIY+f2jyKDH2r1fKiGQqQVr\nRwMAffCdOTunE2GpKJEdTcjGt0KHVkqf3rplzOXQgFe84BPKaQu61XWcqU/E\nggkskBGa2Q1ecogVIKmCvZuQgp06kg+XXLY/3tNFxQK9WzRKXVtZ9TtQ6fDn\nJbmAfdKRG/mRJJ3Ggho1Tp6tq1yjmPfydc7g4rC70szwGFiRiLNZ/IJu/c/h\nWjfA9xHrxE8kut1bqrF3Ib0fHXVO0NJTunje2T6R5SMyKVsDZxlS8+Z2GSW7\nyRUBnkDNlF+3CX2TVz7PzsayQb2BbzY8rtJSk9hvfgZ+jss1010AFCU5RuMX\nD6lLyshNoiwLVni+ZAyGQWf+MBLYcJrNaTjcD4+4ZXF30JaQ39DfofJ+gKOg\nRsIvmP0WnnXLun0VzeWRITXG54CA0A6ofK88cjIdReiQz2Z4hpMHE1Pp81TF\nn/aJ1LaFS3A2eyOnqZmcpGdmL0sMw8Kfiykn/GxMbOiVL9UxxRNhlFdIfb+c\nDs5gUgaLcIly9BxUOP8SKB9fzsSDeyHdYLRaSsGcjYjkpr8JChlpTZvVhhzW\nyTzJseQPHOj1CKZERXoe3u9HkRCpacsD26xK6MRl2ZO7HrIwPhuINs7XIAf2\nD++p\r\n=1dmX\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHT/1gyEXWZ6daAvjKVIbi+XnyPOoqAhmIBEsCt/ddBeAiB5Lhz4bfv/w+RTeSUV3pAF+m0RnfYgRmRXisJsKNoAOw=="}]},"_npmUser":{"name":"huuda.tran","email":"huuda.tran@gmail.com"},"directories":{},"maintainers":[{"name":"huuda.tran","email":"huuda.tran@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/expressjs-routes-info_0.2.3_1623338088367_0.9572810809981307"},"_hasShrinkwrap":false},"1.0.0-rc.1":{"name":"@quoin/expressjs-routes-info","version":"1.0.0-rc.1","description":"ExpressJS named routes","main":"lib/index.js","publishConfig":{"access":"public","tag":"node14"},"engines":{"node":">=14.15.0"},"scripts":{"prepare":"npm run -s eslint","prepack":"npm run -s coverage","eslint":"npm run -s eslint:node && npm run -s eslint:test","eslint:node":"eslint --fix --ignore-pattern '*.test.js' lib","eslint:test":"eslint --fix --config=.eslintrc.test.json '*.test.js' 'lib/**/*.test.js'","coverage":"npm run -s coverage:unit","coverage:unit":"nyc --report-dir=reports/coverage-unit npm run -s test:unit","test":"npm run -s test:unit","test:unit":"mocha '*.unit.test.js' 'lib/**/*.unit.test.js'"},"repository":{"type":"git","url":"git+https://github.com/Quoin/expressjs-routes-info.git"},"keywords":["ExpressJS","routes","resolver"],"author":{"name":"Hữu Ðà Trần","email":"HuuDa.Tran@quoininc.com","url":"https://www.quoininc.com/staff/huu-da-tran/"},"license":"MIT","bugs":{"url":"https://github.com/Quoin/expressjs-routes-info/issues"},"homepage":"https://github.com/Quoin/expressjs-routes-info#readme","peerDependencies":{"express":">=4.0.0"},"dependencies":{"debug":"^4.3.1","lodash":"^4.17.21","url-template":"~2.0.8"},"devDependencies":{"@quoin/node-test-helpers":"^2.0.0-rc.1","eslint":"^7.28.0","eslint-config-standard":"^16.0.3","eslint-plugin-html":"^6.1.2","eslint-plugin-import":"^2.23.4","eslint-plugin-node":"~11.1.0","eslint-plugin-promise":"^5.1.0","eslint-plugin-standard":"^5.0.0","express":"~4.17.1","mocha":"^9.0.0","nyc":"~15.1.0"},"readme":"# ExpressJS Routes Info\n\nThis small library tries to help implementing\n[rfc6570](https://tools.ietf.org/html/rfc6570) as route path in expressJS. It is\nfar from implementing the whole RFC6570, but is a good starting point to be able\nto define basic routes this way.\n\nIt allows the user to define routes in an ExpressJS application\nusing routers, and enable them to reuse the routes to generate dynamic values.\nThe idea behind this library is to pass and construct the `req.baseUrl` value\nstatically. This value is only available for the current router at runtime, and\nreconstructing the path from the generated regexp is quite tedious.\n\n\n## Usage\n\nIn your `server/app.js`:\n\n```javascript\nconst routesInfo = require('./routes');\n\nconst app = express();\n\napp.use(routesInfo('/something', '/').router);\n```\n\nIn your `server/routes.js`:\n\n```javascript\nconst RoutesInfo = require('@quoin/expressjs-routes-info');\n\nconst homepageRoutesInfo = require('./homepage').routesInfo;\nconst mapRoutesInfo = require('./map').routesInfo;\n\nmodule.exports = (subPath, baseUrl) => {\n    const routesInfo = new RoutesInfo(subPath, baseUrl);\n    const prefix = `${baseUrl}/${subPath}`;\n\n    routesInfo.use(homepageRoutesInfo('/', prefix));\n    routesInfo.use(mapRoutesInfo('/map', prefix));\n\n    return routesInfo;\n};\n```\n\nIn your `server/map/routes.js`:\n\n```javascript\nconst RoutesInfo = require('@quoin/expressjs-routes-info');\n\nconst controllers = require('./controllers');\n\nmodule.exports = (subPath, baseUrl) => {\n    const routesInfo = new RoutesInfo(subPath, baseUrl);\n\n    routesInfo.route('map', '/{id}')\n        .get(controllers.index);\n\n    return routesInfo;\n};\n```\n\nor you can also use the express notation:\n\n```javascript\n    routesInfo.route('map', '/:id')\n        .get(controllers.index);\n```\n\nThe route will also accept querystring:\n\n```javascript\n    // Not RFC6570\n    routesInfo.route('pageView', '/pageView/{domain}?pv={id}')\n        .get(controllers.index);\n\n    // RFC6570\n    routesInfo.route('pageView', '/pageView/{domain}{?pv}')\n        .get(controllers.index);\n```\n\nThe difference between the two is what variable name will be used during the\n`.expand()` call. We would agree that the query param should have been `id`,\ninstead of `pv`, but this is to demonstrate the options.\n\nYou can alternatively pass in an implementations object: (new in 0.1.8)\n\n\n### .route(routeName, routePath, [implementations, [options]])\n\n\n#### .route(routeName, routePath)\n\nThe basic usage will return the expressJS route instance and all methods can\nthen be added as you would normally do after defining `.route()`.\n\n```javascript\n    routesInfo.route('route-name', '/path/{param}')\n        .get(...)\n        .post(...)\n```\n\n\n#### .route(routeName, routePath, implementations)\n\nObject that is defined as:\n\n```javascript\n    implementations = Object.freeze({\n        get: getImplementation,\n        post: postImplementation,\n        ...\n    });\n\n    routesInfo.route('route-name', '/path/{param}', implementations);\n```\n\nand the library will extract `all` and the\n[HTTP request methods](https://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol#Request_methods)\n(beside `connect`), and assign them to the route for that specific method.\n\n\n#### .route(routeName, routePath, implementations, options)\n\n```javascript\n    options = {\n        allowPatch: 'application/json',\n        ...\n    };\n```\n\nThis signature is just a quick way to add the `Allow-Patch` header if the\n`patch` implementation is defined to all methods.\n\n\n### .expand(routeName, routeParams, [req])\n\nWith this new library, you can now generate the URL dynamically:\n\n```javascript\nconst RoutesInfo = require('@quoin/expressjs-routes-info');\n\nconsole.log(RoutesInfo.expand('map', {id: '0xABCDEF'}));\n// /something/map/0xABCDEF\n```\n\nWhen passing `req` as the optional third argument, the URL should be generated\nas a full URI (containing the hostname):\n\n```javascript\nconsole.log(RoutesInfo.expand('map', {id: '0xABCDEF'}, req));\n// https://your-host:port/something/map/0xABCDEF\n```\n\n\n### RoutesInfo.staticPath(name, app, baseUrl, urlPath, folderPath)\n\nAdd a named static path to the `app`. Approximatively equivalent to:\n\n```javascript\n    app.use(`${baseUrl}/${urlPath}`, express.static(folderPath));\n```\n\n\n### RoutesInfo.externalUrl(name, url)\n\nAdd a route to an external URL. This will not try to add a route to your\napplication.\n\n```javascript\n    > RoutesInfo.externalUrl('hello:world', 'http://external.host/foo/bar/{sub}{?param1,param2}');\n    > RoutesInfo.expand('hello:world', { sub: 'foobar', param2:'value2' });\n    'http:/external.host/foo/bar/foobar?param2=value2'\n```\n\nThis is not intended to support `mailto:`, so use at your own risk.\n\n\n## Debugging\n\nTo enable debugging message, define\n\n    DEBUG=Quoin:expressjs-routes-info:*\n\n\n## Reset\n\nThis should not be needed for normal operation, but was added to allow testing\nof code that depends on this library.\n\n```javascript\n\nconst routesInfoCache = require('@quoin/expressjs-routes-info/lib/cache');\n\ndescribe(\"\", () => {\n    beforeEach(() => {\n        routesInfoCache.reset();\n    });\n\n    afterEach(() => {\n        routesInfoCache.reset();\n    });\n});\n```\n","readmeFilename":"README.md","gitHead":"74fe80e214dcc8460edc1b661231364907114fe6","_id":"@quoin/expressjs-routes-info@1.0.0-rc.1","_nodeVersion":"14.17.0","_npmVersion":"7.16.0","dist":{"integrity":"sha512-LtN6MsG/UatCgroterjCOE5G2WY1UxTN58q82CkBbaA9inCLR9eNYBKCCAM3gU611LQXL94ucp72DqbSzRbz4g==","shasum":"8ed7b57f55ba27d305c940cfc131c4b68b38f583","tarball":"https://registry.npmjs.org/@quoin/expressjs-routes-info/-/expressjs-routes-info-1.0.0-rc.1.tgz","fileCount":16,"unpackedSize":15904,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgyj5gCRA9TVsSAnZWagAA9P0P/1er2Mr/qdvhXF90QVD0\nYUhDt+IRexsstB3ldyRFOUOcyzrgEDqdPx+xo01s3pAerc75Hvmmj9fH4IDs\nyU6O03e/a0hhwgLiLztP07jph1udMoSgCna093Hb/Q9akZfUmeLzdb/2Yibq\nbPXCHjdlfCdjVGn2m7hVfbORJQGhOAEuzc3vT1OT70M75YrIc1OTjUHlqkMw\nATulg/UMFABkB1A7TBFkCPYnJklzoKA6xeb6/qTsthqjoODq/oTky/xe10O8\nFD9na8bCRmKuejrmZ1ImPedS5vcoyBKtm7oXidI/J6BXYmNigjPmp2jqjG0T\nVkSEedUb55heVi6LWgH41n9S+T5Voi/wcfwbra9yqqA8qnvginu2/kx6nSW/\nFZXDKnG1d4ii7Z0Oq4k7ARYCQtByrzYlw7eAOXKFB5Be0Khsxx9Wo1leBz4y\ntgwQCmh1AO7b7lxq7U/HwNuJL8m8nNahFOsk0uhiU1mD5eBFssBSBgg2Ag6B\naC9Aox1X4t3dRzFy1z6vBftfin9baddNHbWvJ7kmqilqdgGvQu55/conrnKX\nmmkXu3GeRuXeppgHa53WKYe5qXvSwjwiOhWt5jwaidXJ3EJftDWDmu1M9bmB\nymufcXRG7xkTfoZ2M7akuwK90wZeAUUAEUyVdytfYmddvgVcETXUo9M27SQ5\nv4te\r\n=dIti\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFPOzkgYaJoiMHcw58HJnxV53bGKJ3X3gyuCczjNliLTAiBwr8leuyJwniuAlaOS3EElJgrbgSr2CjXm7rteoXJnqw=="}]},"_npmUser":{"name":"huuda.tran","email":"huuda.tran@gmail.com"},"directories":{},"maintainers":[{"name":"elimtaft-quoin","email":"eli.taft@quoininc.com"},{"name":"huuda.tran","email":"huuda.tran@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/expressjs-routes-info_1.0.0-rc.1_1623866976340_0.37468567968302025"},"_hasShrinkwrap":false},"2.0.0":{"name":"@quoin/expressjs-routes-info","version":"2.0.0","description":"ExpressJS named routes","main":"lib/index.js","publishConfig":{"access":"public","tag":"node14"},"engines":{"node":">=14.15.0"},"scripts":{"prepare":"npm run -s eslint","prepack":"npm run -s coverage","eslint":"npm run -s eslint:node && npm run -s eslint:test","eslint:node":"eslint --fix --ignore-pattern '*.test.js' lib","eslint:test":"eslint --fix --config=.eslintrc.test.json '*.test.js' 'lib/**/*.test.js'","coverage":"npm run -s coverage:unit","coverage:unit":"nyc --report-dir=reports/coverage-unit npm run -s test:unit","test":"npm run -s test:unit","test:unit":"mocha '*.unit.test.js' 'lib/**/*.unit.test.js'"},"repository":{"type":"git","url":"git+https://github.com/Quoin/expressjs-routes-info.git"},"keywords":["ExpressJS","routes","resolver"],"author":{"name":"Hữu Ðà Trần","email":"HuuDa.Tran@quoininc.com","url":"https://www.quoininc.com/staff/huu-da-tran/"},"license":"MIT","bugs":{"url":"https://github.com/Quoin/expressjs-routes-info/issues"},"homepage":"https://github.com/Quoin/expressjs-routes-info#readme","peerDependencies":{"express":">=4.0.0"},"dependencies":{"debug":"^4.3.1","lodash":"^4.17.21","url-template":"~2.0.8"},"devDependencies":{"@quoin/eslint-config-quoin":"^2.0.0","@quoin/node-test-helpers":"^2.0.0","eslint":"^7.28.0","eslint-config-standard":"^16.0.3","eslint-plugin-html":"^6.1.2","eslint-plugin-import":"^2.23.4","eslint-plugin-json":"^3.0.0","eslint-plugin-node":"~11.1.0","eslint-plugin-promise":"^5.1.0","express":"~4.17.1","mocha":"^9.0.1","nyc":"~15.1.0"},"readme":"# ExpressJS Routes Info\n\nThis small library tries to help implementing\n[rfc6570](https://tools.ietf.org/html/rfc6570) as route path in expressJS. It is\nfar from implementing the whole RFC6570, but is a good starting point to be able\nto define basic routes this way.\n\nIt allows the user to define routes in an ExpressJS application\nusing routers, and enable them to reuse the routes to generate dynamic values.\nThe idea behind this library is to pass and construct the `req.baseUrl` value\nstatically. This value is only available for the current router at runtime, and\nreconstructing the path from the generated regexp is quite tedious.\n\n\n## Usage\n\nIn your `server/app.js`:\n\n```javascript\nconst routesInfo = require('./routes');\n\nconst app = express();\n\napp.use(routesInfo('/something', '/').router);\n```\n\nIn your `server/routes.js`:\n\n```javascript\nconst RoutesInfo = require('@quoin/expressjs-routes-info');\n\nconst homepageRoutesInfo = require('./homepage').routesInfo;\nconst mapRoutesInfo = require('./map').routesInfo;\n\nmodule.exports = (subPath, baseUrl) => {\n    const routesInfo = new RoutesInfo(subPath, baseUrl);\n    const prefix = `${baseUrl}/${subPath}`;\n\n    routesInfo.use(homepageRoutesInfo('/', prefix));\n    routesInfo.use(mapRoutesInfo('/map', prefix));\n\n    return routesInfo;\n};\n```\n\nIn your `server/map/routes.js`:\n\n```javascript\nconst RoutesInfo = require('@quoin/expressjs-routes-info');\n\nconst controllers = require('./controllers');\n\nmodule.exports = (subPath, baseUrl) => {\n    const routesInfo = new RoutesInfo(subPath, baseUrl);\n\n    routesInfo.route('map', '/{id}')\n        .get(controllers.index);\n\n    return routesInfo;\n};\n```\n\nor you can also use the express notation:\n\n```javascript\n    routesInfo.route('map', '/:id')\n        .get(controllers.index);\n```\n\nThe route will also accept querystring:\n\n```javascript\n    // Not RFC6570\n    routesInfo.route('pageView', '/pageView/{domain}?pv={id}')\n        .get(controllers.index);\n\n    // RFC6570\n    routesInfo.route('pageView', '/pageView/{domain}{?pv}')\n        .get(controllers.index);\n```\n\nThe difference between the two is what variable name will be used during the\n`.expand()` call. We would agree that the query param should have been `id`,\ninstead of `pv`, but this is to demonstrate the options.\n\nYou can alternatively pass in an implementations object: (new in 0.1.8)\n\n\n### .route(routeName, routePath, [implementations, [options]])\n\n\n#### .route(routeName, routePath)\n\nThe basic usage will return the expressJS route instance and all methods can\nthen be added as you would normally do after defining `.route()`.\n\n```javascript\n    routesInfo.route('route-name', '/path/{param}')\n        .get(...)\n        .post(...)\n```\n\n\n#### .route(routeName, routePath, implementations)\n\nObject that is defined as:\n\n```javascript\n    implementations = Object.freeze({\n        get: getImplementation,\n        post: postImplementation,\n        ...\n    });\n\n    routesInfo.route('route-name', '/path/{param}', implementations);\n```\n\nand the library will extract `all` and the\n[HTTP request methods](https://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol#Request_methods)\n(beside `connect`), and assign them to the route for that specific method.\n\n\n#### .route(routeName, routePath, implementations, options)\n\n```javascript\n    options = {\n        allowPatch: 'application/json',\n        ...\n    };\n```\n\nThis signature is just a quick way to add the `Allow-Patch` header if the\n`patch` implementation is defined to all methods.\n\n\n### .expand(routeName, routeParams, [req])\n\nWith this new library, you can now generate the URL dynamically:\n\n```javascript\nconst RoutesInfo = require('@quoin/expressjs-routes-info');\n\nconsole.log(RoutesInfo.expand('map', {id: '0xABCDEF'}));\n// /something/map/0xABCDEF\n```\n\nWhen passing `req` as the optional third argument, the URL should be generated\nas a full URI (containing the hostname):\n\n```javascript\nconsole.log(RoutesInfo.expand('map', {id: '0xABCDEF'}, req));\n// https://your-host:port/something/map/0xABCDEF\n```\n\n\n### RoutesInfo.staticPath(name, app, baseUrl, urlPath, folderPath)\n\nAdd a named static path to the `app`. Approximatively equivalent to:\n\n```javascript\n    app.use(`${baseUrl}/${urlPath}`, express.static(folderPath));\n```\n\n\n### RoutesInfo.externalUrl(name, url)\n\nAdd a route to an external URL. This will not try to add a route to your\napplication.\n\n```javascript\n    > RoutesInfo.externalUrl('hello:world', 'http://external.host/foo/bar/{sub}{?param1,param2}');\n    > RoutesInfo.expand('hello:world', { sub: 'foobar', param2:'value2' });\n    'http:/external.host/foo/bar/foobar?param2=value2'\n```\n\nThis is not intended to support `mailto:`, so use at your own risk.\n\n\n## Debugging\n\nTo enable debugging message, define\n\n    DEBUG=Quoin:expressjs-routes-info:*\n\n\n## Reset\n\nThis should not be needed for normal operation, but was added to allow testing\nof code that depends on this library.\n\n```javascript\n\nconst routesInfoCache = require('@quoin/expressjs-routes-info/lib/cache');\n\ndescribe(\"\", () => {\n    beforeEach(() => {\n        routesInfoCache.reset();\n    });\n\n    afterEach(() => {\n        routesInfoCache.reset();\n    });\n});\n```\n","readmeFilename":"README.md","gitHead":"b8e0d6f460428b360391a079208a4645375093ad","_id":"@quoin/expressjs-routes-info@2.0.0","_nodeVersion":"14.17.0","_npmVersion":"7.16.0","dist":{"integrity":"sha512-9tny39G0JCPWLd+03jFIWdWLc1na+GG8ayF08hQbjg4rq5JYvEW3fWX4t0wvBCd2ZZFRErbXq7tlFUrT7pPfUA==","shasum":"72e45007733cd2525295caabb6a9daa5209b507c","tarball":"https://registry.npmjs.org/@quoin/expressjs-routes-info/-/expressjs-routes-info-2.0.0.tgz","fileCount":16,"unpackedSize":15979,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgzM6gCRA9TVsSAnZWagAA/lMP/iPwiVyNL/BXB+ldcWWn\nVnvtwGIfyWECKs/7b+x3xbgjgj/6kMAUbIgAjKk+tqSZoqKFhY3ZPKY/dqfx\nxZlKC+5ozXFPOEr6qMhSdoNS/1Vu+JzPlcc2uGtvgGehh2Exi6Cndep0y8oG\nozWGPNNjTk8GZGppthm6b8m7q2dbCH3UbIop+5u+bglp0dDwZfEKkZaK2aBp\nDpshXt4C8egTvYUmeEr8bVvPR9KZ+50TGadXM5fduFxbdSKmZtqRdfgjnCmM\nYT1a83ubhSVPdXTWqbTGY3bBfDmNJLS4FHzuqCgv+JpRjBzBGmWJWGk5lmxd\nwn2u5PXuQpCoHjKin82Ld9j3zoQF8f8E+gimat1Q/JByfKpJMKVQBCSQYD1Q\nnZgtS6mydVgHrGlhgGc0dL73+1WgdFbh7wYXFah72WEQDV6y/0IVUN9HDGrQ\nYq682K2YNRUZQKapocyZVaxpV0y4WQytPBH69Ai9gd99Y3jVZmd22YmNF3bx\nZG2p9ay10azML+tK/ncsuLVQO31y9k+Eh9dxQcdvaOJ9DU26eN9ISwxB8mJn\na7o+n7UkhWCD+4RchTtSJxmOWFJd+dWayy/89Hj6uxWXCTn7K6spAtaD2i5B\nDDj04y6BeKSanfuQaalPe+sJEZg1U3SzGkDBdgTDtkCwqIIHgg/7CHMNzUXQ\nF3uN\r\n=PsWv\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDtaqHtSIWpPRKdPUIVhhRe3+bbW9cDj0fHL9aXOiPFHwIgXdAxocaVJ39GNoBo7moP4mq/7HzCqu8oT9OWToch6Uc="}]},"_npmUser":{"name":"huuda.tran","email":"huuda.tran@gmail.com"},"directories":{},"maintainers":[{"name":"elimtaft-quoin","email":"eli.taft@quoininc.com"},{"name":"huuda.tran","email":"huuda.tran@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/expressjs-routes-info_2.0.0_1624034975726_0.12669322876724443"},"_hasShrinkwrap":false},"2.0.1":{"name":"@quoin/expressjs-routes-info","version":"2.0.1","description":"ExpressJS named routes","main":"lib/index.js","publishConfig":{"access":"public"},"engines":{"node":">=14.15.0"},"scripts":{"prepare":"npm run -s eslint","prepack":"npm run -s coverage","eslint":"npm run -s eslint:node && npm run -s eslint:test","eslint:node":"eslint --fix --ignore-pattern '*.test.js' lib","eslint:test":"eslint --fix --config=.eslintrc.test.json '*.test.js' 'lib/**/*.test.js'","coverage":"npm run -s coverage:unit","coverage:unit":"nyc --report-dir=reports/coverage-unit npm run -s test:unit","test":"npm run -s test:unit","test:unit":"mocha '*.unit.test.js' 'lib/**/*.unit.test.js'"},"repository":{"type":"git","url":"git+https://github.com/Quoin/expressjs-routes-info.git"},"keywords":["ExpressJS","routes","resolver"],"author":{"name":"Hữu Ðà Trần","email":"HuuDa.Tran@quoininc.com","url":"https://www.quoininc.com/staff/huu-da-tran/"},"license":"MIT","bugs":{"url":"https://github.com/Quoin/expressjs-routes-info/issues"},"homepage":"https://github.com/Quoin/expressjs-routes-info#readme","peerDependencies":{"express":">=4.0.0"},"dependencies":{"debug":"^4.3.1","lodash":"^4.17.21","url-template":"~2.0.8"},"devDependencies":{"@quoin/eslint-config-quoin":"^2.0.2","@quoin/node-test-helpers":"^2.0.1","eslint":"^7.29.0","eslint-config-standard":"^16.0.3","eslint-plugin-html":"^6.1.2","eslint-plugin-import":"^2.23.4","eslint-plugin-json":"^3.0.0","eslint-plugin-node":"~11.1.0","eslint-plugin-promise":"^5.1.0","express":"~4.17.1","mocha":"^9.0.1","nyc":"~15.1.0"},"gitHead":"603610c429973a102335f4676b56f5ee9142e7d4","_id":"@quoin/expressjs-routes-info@2.0.1","_nodeVersion":"14.17.0","_npmVersion":"7.16.0","dist":{"integrity":"sha512-s3St4H8etfTAISzIp+N7AzwDT9HqWWswFjrqS5zTj8/jb7IDv3sk0RQNlMqqfii9Kt6N8oN4cywXfgPymTQuhg==","shasum":"9ecc8a201c0608f5f3ba2e2366e953133e8fe6c3","tarball":"https://registry.npmjs.org/@quoin/expressjs-routes-info/-/expressjs-routes-info-2.0.1.tgz","fileCount":16,"unpackedSize":16027,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg0XYTCRA9TVsSAnZWagAAZ/cP/2QAqjJQ5q378qvZO35A\naRGALiB5rc4IeWDrcjq6aBoUKuphvvtgEh1Z87oJvaE0JQ+Z4doTo+zEjjpx\n69haujysMTQ+Y8aLkrk9KX5scfmRKmTP1I467Vjf+BVLKW2CKokaEb7iqKPW\n/IH4iNZq0LWgL97tVoZhkuvObU0hjZ5Oix3BMr1imn3KgiM6E1SAFqtm2SBs\nl2Zd1AOTLUbS098u8L70Qcw26B8Fba3Nw3aoRVq7yBfvxlnHi5culeBbzqTT\nqIYsB1gDKpvkUnFfMXSTzluXxRKz4ft+M84cqFZ2sbENDXeaXPIZLpxYTY3+\nwuVIyPrW3Zjx95Gi1N7FUZUjCIJKZ9/WGL0wfi+59gwwpYT5XoVyDpgOnVUK\nH0tyCEvF6APJx37R1PDsZd3Kf0En4G+KLf2KQb3QGENgeO3QSCj1EjqVD49J\ns7lhiNKH/n1iehvUdfjhW+Lw4oPj33cptvYTmptf/3VRZVHoF8RMF40pA4q1\nME9T6YP+iTRVdo357iKK00vtlLPNn89utH40Xk11UwR2AZNucaN+Ti5wuZgm\n37kwnCyc6JHK0CFJC+MFqk4+VmDIqwgUbSgLMF/HJ1eNDD5BPCXaWffZZMvM\nuU6duU8FhsFMV0g42/PYn3QAXXcKGJgoreoIYsSi74d3TF52ZYZVsm+nV9LO\npK45\r\n=/JX0\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC8IiiT/z8UeMgYehz+TyuF8K9FX6M0B8Z8TmsY8+V9+QIhAOamCifhAvxnxWjJY9AphCNxFYE0aWFn7G7PgohuihE9"}]},"_npmUser":{"name":"huuda.tran","email":"huuda.tran@gmail.com"},"directories":{},"maintainers":[{"name":"elimtaft-quoin","email":"eli.taft@quoininc.com"},{"name":"huuda.tran","email":"huuda.tran@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/expressjs-routes-info_2.0.1_1624339987322_0.234526371302344"},"_hasShrinkwrap":false}},"readme":"# ExpressJS Routes Info\n\nThis small library tries to help implementing\n[rfc6570](https://tools.ietf.org/html/rfc6570) as route path in expressJS. It is\nfar from implementing the whole RFC6570, but is a good starting point to be able\nto define basic routes this way.\n\nIt allows the user to define routes in an ExpressJS application\nusing routers, and enable them to reuse the routes to generate dynamic values.\nThe idea behind this library is to pass and construct the `req.baseUrl` value\nstatically. This value is only available for the current router at runtime, and\nreconstructing the path from the generated regexp is quite tedious.\n\n\n## Usage\n\nIn your `server/app.js`:\n\n```javascript\nconst routesInfo = require('./routes');\n\nconst app = express();\n\napp.use(routesInfo('/something', '/').router);\n```\n\nIn your `server/routes.js`:\n\n```javascript\nconst RoutesInfo = require('@quoin/expressjs-routes-info');\n\nconst homepageRoutesInfo = require('./homepage').routesInfo;\nconst mapRoutesInfo = require('./map').routesInfo;\n\nmodule.exports = (subPath, baseUrl) => {\n    const routesInfo = new RoutesInfo(subPath, baseUrl);\n    const prefix = `${baseUrl}/${subPath}`;\n\n    routesInfo.use(homepageRoutesInfo('/', prefix));\n    routesInfo.use(mapRoutesInfo('/map', prefix));\n\n    return routesInfo;\n};\n```\n\nIn your `server/map/routes.js`:\n\n```javascript\nconst RoutesInfo = require('@quoin/expressjs-routes-info');\n\nconst controllers = require('./controllers');\n\nmodule.exports = (subPath, baseUrl) => {\n    const routesInfo = new RoutesInfo(subPath, baseUrl);\n\n    routesInfo.route('map', '/{id}')\n        .get(controllers.index);\n\n    return routesInfo;\n};\n```\n\nor you can also use the express notation:\n\n```javascript\n    routesInfo.route('map', '/:id')\n        .get(controllers.index);\n```\n\nThe route will also accept querystring:\n\n```javascript\n    // Not RFC6570\n    routesInfo.route('pageView', '/pageView/{domain}?pv={id}')\n        .get(controllers.index);\n\n    // RFC6570\n    routesInfo.route('pageView', '/pageView/{domain}{?pv}')\n        .get(controllers.index);\n```\n\nThe difference between the two is what variable name will be used during the\n`.expand()` call. We would agree that the query param should have been `id`,\ninstead of `pv`, but this is to demonstrate the options.\n\nYou can alternatively pass in an implementations object: (new in 0.1.8)\n\n\n### .route(routeName, routePath, [implementations, [options]])\n\n\n#### .route(routeName, routePath)\n\nThe basic usage will return the expressJS route instance and all methods can\nthen be added as you would normally do after defining `.route()`.\n\n```javascript\n    routesInfo.route('route-name', '/path/{param}')\n        .get(...)\n        .post(...)\n```\n\n\n#### .route(routeName, routePath, implementations)\n\nObject that is defined as:\n\n```javascript\n    implementations = Object.freeze({\n        get: getImplementation,\n        post: postImplementation,\n        ...\n    });\n\n    routesInfo.route('route-name', '/path/{param}', implementations);\n```\n\nand the library will extract `all` and the\n[HTTP request methods](https://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol#Request_methods)\n(beside `connect`), and assign them to the route for that specific method.\n\n\n#### .route(routeName, routePath, implementations, options)\n\n```javascript\n    options = {\n        allowPatch: 'application/json',\n        ...\n    };\n```\n\nThis signature is just a quick way to add the `Allow-Patch` header if the\n`patch` implementation is defined to all methods.\n\n\n### .expand(routeName, routeParams, [req])\n\nWith this new library, you can now generate the URL dynamically:\n\n```javascript\nconst RoutesInfo = require('@quoin/expressjs-routes-info');\n\nconsole.log(RoutesInfo.expand('map', {id: '0xABCDEF'}));\n// /something/map/0xABCDEF\n```\n\nWhen passing `req` as the optional third argument, the URL should be generated\nas a full URI (containing the hostname):\n\n```javascript\nconsole.log(RoutesInfo.expand('map', {id: '0xABCDEF'}, req));\n// https://your-host:port/something/map/0xABCDEF\n```\n\n\n### RoutesInfo.staticPath(name, app, baseUrl, urlPath, folderPath)\n\nAdd a named static path to the `app`. Approximatively equivalent to:\n\n```javascript\n    app.use(`${baseUrl}/${urlPath}`, express.static(folderPath));\n```\n\n\n### RoutesInfo.externalUrl(name, url)\n\nAdd a route to an external URL. This will not try to add a route to your\napplication.\n\n```javascript\n    > RoutesInfo.externalUrl('hello:world', 'http://external.host/foo/bar/{sub}{?param1,param2}');\n    > RoutesInfo.expand('hello:world', { sub: 'foobar', param2:'value2' });\n    'http:/external.host/foo/bar/foobar?param2=value2'\n```\n\nThis is not intended to support `mailto:`, so use at your own risk.\n\n\n## Debugging\n\nTo enable debugging message, define\n\n    DEBUG=Quoin:expressjs-routes-info:*\n\n\n## Reset\n\nThis should not be needed for normal operation, but was added to allow testing\nof code that depends on this library.\n\n```javascript\n\nconst routesInfoCache = require('@quoin/expressjs-routes-info/lib/cache');\n\ndescribe(\"\", () => {\n    beforeEach(() => {\n        routesInfoCache.reset();\n    });\n\n    afterEach(() => {\n        routesInfoCache.reset();\n    });\n});\n```\n","maintainers":[{"email":"brad.teeman@quoininc.com","name":"bteeman"},{"email":"jtoliver@quoininc.com","name":"jtoliver"},{"email":"eli.taft@quoininc.com","name":"elimtaft-quoin"}],"time":{"modified":"2022-06-12T22:59:53.379Z","created":"2017-04-04T21:28:18.260Z","0.1.0":"2017-04-04T21:28:18.260Z","0.1.1":"2017-04-05T15:19:20.651Z","0.1.2":"2017-04-05T17:50:02.108Z","0.1.3":"2017-04-05T19:57:38.904Z","0.1.4":"2017-04-10T22:13:20.222Z","0.1.5":"2017-04-11T16:04:25.904Z","0.1.6":"2017-05-02T18:08:49.025Z","0.1.7":"2017-06-05T19:02:22.443Z","0.1.8":"2017-08-03T18:57:11.360Z","0.1.9":"2017-08-15T18:45:42.862Z","0.1.10":"2017-08-16T15:57:56.742Z","0.2.0":"2017-12-18T21:57:18.811Z","0.2.1":"2018-12-12T16:51:35.394Z","0.2.2":"2019-07-16T19:44:48.349Z","0.2.3":"2021-06-10T15:14:48.521Z","1.0.0-rc.1":"2021-06-16T18:09:36.475Z","2.0.0":"2021-06-18T16:49:35.861Z","2.0.1":"2021-06-22T05:33:07.502Z"},"homepage":"https://github.com/Quoin/expressjs-routes-info#readme","keywords":["ExpressJS","routes","resolver"],"repository":{"type":"git","url":"git+https://github.com/Quoin/expressjs-routes-info.git"},"author":{"name":"Hữu Ðà Trần","email":"HuuDa.Tran@quoininc.com","url":"https://www.quoininc.com/staff/huu-da-tran/"},"bugs":{"url":"https://github.com/Quoin/expressjs-routes-info/issues"},"license":"MIT","readmeFilename":"README.md"}