{"_id":"rfc6570-expand","_rev":"4-7f5278e95c19567fc34cbff9f7b041e7","name":"rfc6570-expand","description":"A template processor for RFC 6570 URI Template","dist-tags":{"latest":"0.2.0"},"versions":{"0.1.0":{"name":"rfc6570-expand","description":"A template processor for RFC 6570 URI Template","version":"0.1.0","author":{"name":"bouzuya","email":"m@bouzuya.net","url":"http://bouzuya.net/"},"bugs":{"url":"https://github.com/bouzuya/rfc6570-expand/issues"},"devDependencies":{"eater":"1.5.5","espower-loader":"1.0.0","parallelshell":"2.0.0","power-assert":"1.4.1","typescript":"1.8.10","typings":"1.0.4","watch":"0.18.0"},"eater":{"dir":"./.tmp/test","require":["./scripts/enable-power-assert.js"]},"files":["lib/"],"homepage":"https://github.com/bouzuya/rfc6570-expand","keywords":[],"license":"MIT","main":"lib/index.js","repository":{"type":"git","url":"git+https://github.com/bouzuya/rfc6570-expand.git"},"scripts":{"build":"tsc && ([ -d lib/ ] || mkdir -p lib/) && cp .tmp/src/* lib/","clean":"rm -rf .tmp/ lib/","prepublish":"typings install && npm run build","test":"eater","watch":"parallelshell 'npm run build -- --watch' 'npm run watch-test'","watch-test":"watch --wait 2 'npm test' '.tmp/test/'"},"typings":"lib/index.d.ts","gitHead":"09d70ceebb52a6426d122459dfb5c29bf32523aa","_id":"rfc6570-expand@0.1.0","_shasum":"50d192406a77023276b88399c0c11a293cc69966","_from":".","_npmVersion":"3.8.6","_nodeVersion":"6.1.0","_npmUser":{"name":"bouzuya","email":"m@bouzuya.net"},"dist":{"shasum":"50d192406a77023276b88399c0c11a293cc69966","tarball":"https://registry.npmjs.org/rfc6570-expand/-/rfc6570-expand-0.1.0.tgz","integrity":"sha512-eEuyELff97qJwELbXxZKKA20DgIlReVSsE+OfZ6XDV5NQA60IHYA0HqL1jQtss3/mBaTtwrJubMI+gAXadFaZw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIB0T6/EC4DYAiJW1+IBX2p5BgrIcYrlEsLE7ALQc/4rXAiBn/O3yG9jqi5Y5GANXO4APvh6GVWvb5nTyVuJ+PGMdkA=="}]},"maintainers":[{"name":"bouzuya","email":"m@bouzuya.net"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/rfc6570-expand-0.1.0.tgz_1464962497859_0.0008751209825277328"}},"0.2.0":{"name":"rfc6570-expand","description":"A template processor for RFC 6570 URI Template","version":"0.2.0","author":{"name":"bouzuya","email":"m@bouzuya.net","url":"http://bouzuya.net/"},"bugs":{"url":"https://github.com/bouzuya/rfc6570-expand/issues"},"devDependencies":{"cpx":"1.5.0","eater":"3.1.0","eater-b-reporter":"0.2.0","espower-loader":"1.0.1","npm-run-all":"3.1.0","parallelshell":"2.0.0","power-assert":"1.4.1","rimraf":"2.5.4","typescript":"1.8.10","typings":"1.3.3","watch":"0.19.2"},"eater":{"dir":"./.tmp/test","reporter":"eater-b-reporter","require":["./scripts/enable-power-assert.js"]},"files":["lib/"],"homepage":"https://github.com/bouzuya/rfc6570-expand","keywords":["6570","RFC 6570","rfc","template","uri"],"license":"MIT","main":"lib/index.js","repository":{"type":"git","url":"git+https://github.com/bouzuya/rfc6570-expand.git"},"scripts":{"build":"npm-run-all -s 'build:ts' 'copy'","build:ts":"tsc","clean":"rimraf .tmp lib","copy":"cpx '.tmp/src/*' 'lib/'","install:dts":"typings install","prepublish":"npm-run-all -s 'install:dts' 'build'","test":"eater","watch":"npm-run-all -p 'watch:*'","watch:copy":"watch --wait 2 'npm run copy' '.tmp/src/'","watch:test":"watch --wait 2 'npm test' '.tmp/test/'","watch:ts":"tsc --watch"},"typings":"lib/index.d.ts","gitHead":"de5486276beae7137c9f188b6832beaded791854","_id":"rfc6570-expand@0.2.0","_shasum":"f220efee92257bdc6f56867fd345b68168133177","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.3.0","_npmUser":{"name":"bouzuya","email":"m@bouzuya.net"},"dist":{"shasum":"f220efee92257bdc6f56867fd345b68168133177","tarball":"https://registry.npmjs.org/rfc6570-expand/-/rfc6570-expand-0.2.0.tgz","integrity":"sha512-t4fRxeRW2xEum2DVBHs/yk19kSNcLYXby5642P/irllr1Q4ubA1h8mep94xyGNFjv45gpZ25BXndpcvvGADlfA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHA9jkGkPiNVPbymp+ZV6enEO4p2wZBQAc7Ja0srK4M/AiEArZ5dwRlmAcDNYhdtlvVREYoPeL+85+gPiQH+kxeNB/Y="}]},"maintainers":[{"name":"bouzuya","email":"m@bouzuya.net"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/rfc6570-expand-0.2.0.tgz_1474414926545_0.6847751082386822"}}},"readme":"# rfc6570-expand\n\nA template processor for [RFC 6570 URI Template](https://tools.ietf.org/html/rfc6570).\n\n## Installation\n\n```\n$ npm install rfc6570-expand\n```\n\n## Usage\n\n```js\nimport { init } from 'rfc6570-expand';\n\nconst template = '{foo}';\nconst variables = { foo: 'bar' };\n\nconst { expand } = init(template);\nconst uri = expand(variables);\n\nconsole.log(uri); // 'bar'\n```\n\n## Alternatives\n\n- [LuvDaSun/rfc6570][] ([npm:rfc6570][])\n- [bramstein/url-template][] ([npm:url-template][])\n- [brettstimmerman/temple][] ([npm:temple][])\n- [fxa/uritemplate-js][] ([npm:uritemplate][])\n- [geraintluff/uri-templates][] ([npm:uri-templates][])\n- [grncdr/uri-template][] ([npm:uri-template][])\n- [litejs/uri-template-lite][] ([npm:uri-template-lite][])\n- [medialize/URI.js][] ([npm:urijs][])\n- [rezigned/uri-template.js][] ([npm:uri-template.js][])\n\n[LuvDaSun/rfc6570]: https://github.com/LuvDaSun/rfc6570\n[bramstein/url-template]: https://github.com/bramstein/url-template\n[brettstimmerman/temple]: https://github.com/brettstimmerman/temple\n[fxa/uritemplate-js]: https://github.com/fxa/uritemplate-js\n[geraintluff/uri-templates]: https://github.com/geraintluff/uri-templates\n[grncdr/uri-template]: https://github.com/grncdr/uri-template\n[litejs/uri-template-lite]: https://github.com/litejs/uri-template-lite\n[medialize/URI.js]: https://github.com/medialize/URI.js\n[rezigned/uri-template.js]: https://github.com/rezigned/uri-template.js\n[npm:rfc6570]: https://www.npmjs.com/package/rfc6570\n[npm:uri-templates]: https://www.npmjs.com/package/uri-templates\n[npm:uritemplate]: https://www.npmjs.com/package/uritemplate\n[npm:uri-template.js]: https://www.npmjs.com/package/uri-template.js\n[npm:uri-template-lite]: https://www.npmjs.com/package/uri-template-lite\n[npm:uri-template]: https://www.npmjs.com/package/uri-template\n[npm:url-template]: https://www.npmjs.com/package/url-template\n[npm:urijs]: https://www.npmjs.com/package/urijs\n[npm:temple]: https://www.npmjs.com/package/temple\n\n## Badges\n\n[![Circle CI][circleci-badge-url]][circleci-url]\n\n## License\n\n[MIT](LICENSE)\n\n## Author\n\n[bouzuya][user] &lt;[m@bouzuya.net][email]&gt; ([http://bouzuya.net][url])\n\n[user]: https://github.com/bouzuya\n[email]: mailto:m@bouzuya.net\n[url]: http://bouzuya.net\n[circleci-badge-url]: https://circleci.com/gh/bouzuya/rfc6570-expand.svg?style=svg\n[circleci-url]: https://circleci.com/gh/bouzuya/rfc6570-expand\n","maintainers":[{"name":"bouzuya","email":"m@bouzuya.net"}],"time":{"modified":"2022-06-26T13:05:27.153Z","created":"2016-06-03T14:01:40.759Z","0.1.0":"2016-06-03T14:01:40.759Z","0.2.0":"2016-09-20T23:42:09.859Z"},"homepage":"https://github.com/bouzuya/rfc6570-expand","keywords":["6570","RFC 6570","rfc","template","uri"],"repository":{"type":"git","url":"git+https://github.com/bouzuya/rfc6570-expand.git"},"author":{"name":"bouzuya","email":"m@bouzuya.net","url":"http://bouzuya.net/"},"bugs":{"url":"https://github.com/bouzuya/rfc6570-expand/issues"},"license":"MIT","readmeFilename":"README.md"}