{"_id":"uritemplate","_rev":"42-c44efef368357a549a35820b5da48eee","name":"uritemplate","description":"An UriTemplate implementation of rfc 6570","dist-tags":{"latest":"0.3.4"},"versions":{"0.1.1":{"name":"uritemplate","description":"An UriTemplate implementation of rfc 6570","homepage":"https://www.github.com/fxa/uritemplate-js","keywords":["util","uri","template","rfc6570"],"author":{"name":"Franz Antesberger"},"contributors":[],"dependencies":{},"main":"src/uritemplate.js","licenses":[{"type":"MIT","url":"http://www.opensource.org/licenses/mit-license.php"}],"files":["src/uritemplate.js","demo.html","test.js","README.md",".gitmodules","uritemplate-test/extended-tests.json","uritemplate-test/negative-tests.json","uritemplate-test/README.md","uritemplate-test/spec-examples-by-sections.json","uritemplate-test/spec-examples.json"],"version":"0.1.1","_npmUser":{"name":"fxa","email":"info@franz-antesberger.de"},"_id":"uritemplate@0.1.1","devDependencies":{},"optionalDependencies":{},"engines":{"node":"*"},"_engineSupported":true,"_npmVersion":"1.1.24","_nodeVersion":"v0.6.19","_defaultsLoaded":true,"dist":{"shasum":"7c3d5fce94acbec17306a3de1eb4cc2f6fba0a9d","tarball":"https://registry.npmjs.org/uritemplate/-/uritemplate-0.1.1.tgz","integrity":"sha512-Mt/Ti7Au3kHFUHaDFf8C1h1uXbGjsmZArvem/BLVXiY43dZSzJujIUUAIRjBu+c5Xi7pBdg8+GyvbhaW6kJ3dw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC3o25Nad+JiBLBDsbtjcY2s6PrCzFEHVicz3TJYhDd/AIhAKGXBTE5OTKYaGIaqxRrsQH52UioSvb0G7LAkgcrfBRV"}]},"maintainers":[{"name":"fxa","email":"info@franz-antesberger.de"}],"directories":{}},"0.1.2":{"name":"uritemplate","description":"An UriTemplate implementation of rfc 6570","homepage":"https://www.github.com/fxa/uritemplate-js","keywords":["util","uri","template","rfc6570"],"author":{"name":"Franz Antesberger"},"contributors":[],"dependencies":{},"main":"src/uritemplate.js","licenses":[{"type":"MIT","url":"http://www.opensource.org/licenses/mit-license.php"}],"files":["src/uritemplate.js","demo.html","test.js","README.md",".gitmodules","uritemplate-test/extended-tests.json","uritemplate-test/negative-tests.json","uritemplate-test/README.md","uritemplate-test/spec-examples-by-sections.json","uritemplate-test/spec-examples.json"],"version":"0.1.2","_npmUser":{"name":"fxa","email":"info@franz-antesberger.de"},"_id":"uritemplate@0.1.2","devDependencies":{},"optionalDependencies":{},"engines":{"node":"*"},"_engineSupported":true,"_npmVersion":"1.1.24","_nodeVersion":"v0.6.19","_defaultsLoaded":true,"dist":{"shasum":"1e7fdc82ca88b3fb4dcb745de514d7b2f424c3ec","tarball":"https://registry.npmjs.org/uritemplate/-/uritemplate-0.1.2.tgz","integrity":"sha512-Eq6AK7dneQaon9XGq7loxRYUj4coP1a0EtwPCqs+QsjaWXT1lKW3D0/GPHRPnysu5HJFtQPvMsNY8h2MQZu3dg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICtLwhiYoLY1IelfZDQ8BWSFT1IwhdxAWqbFTwz2zdFOAiEAhPqlsPNlqjVFa++7wxEGaGOyNOUyd8WCer5sCCg4Lwc="}]},"maintainers":[{"name":"fxa","email":"info@franz-antesberger.de"}],"directories":{}},"0.1.3":{"name":"uritemplate","description":"An UriTemplate implementation of rfc 6570","homepage":"https://www.github.com/fxa/uritemplate-js","keywords":["util","uri","template","rfc6570"],"author":{"name":"Franz Antesberger"},"contributors":[],"dependencies":{},"main":"src/uritemplate.js","licenses":[{"type":"MIT","url":"http://www.opensource.org/licenses/mit-license.php"}],"files":["src/uritemplate.js","demo.html","test.js","README.md",".gitmodules","uritemplate-test/extended-tests.json","uritemplate-test/negative-tests.json","uritemplate-test/README.md","uritemplate-test/spec-examples-by-sections.json","uritemplate-test/spec-examples.json"],"version":"0.1.3","_npmUser":{"name":"fxa","email":"info@franz-antesberger.de"},"_id":"uritemplate@0.1.3","devDependencies":{},"optionalDependencies":{},"engines":{"node":"*"},"_engineSupported":true,"_npmVersion":"1.1.24","_nodeVersion":"v0.6.19","_defaultsLoaded":true,"dist":{"shasum":"162d113f3e383b788cb1451b8074811ea9f48470","tarball":"https://registry.npmjs.org/uritemplate/-/uritemplate-0.1.3.tgz","integrity":"sha512-NRUh7Z+6+s079d/d1sj90X2SsnMderlts7+FKjCK9RxNAr/CfUtqIewWhxana2qF5fJNmrQ0IhTEcwNsCHYJ+g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGU4NPQyuOrxBs2WMFpGhA4puvq/em/n/OLFnB3Drp8xAiEA///9V0xr2jLLCuB4cisgEaXy+Kzyn7u1Eo4q+mvuq2Q="}]},"maintainers":[{"name":"fxa","email":"info@franz-antesberger.de"}],"directories":{}},"0.2.0":{"name":"uritemplate","description":"An UriTemplate implementation of rfc 6570","homepage":"https://www.github.com/fxa/uritemplate-js","keywords":["util","uri","template","rfc6570"],"author":{"name":"Franz Antesberger"},"contributors":[],"dependencies":{},"main":"bin/uritemplate.js","licenses":[{"type":"MIT","url":"http://www.opensource.org/licenses/mit-license.php"}],"files":["src","test","bin","Jakefile.js","own-testcases.json","demo.html","demo_AMD.html","README.md","reqire.js",".gitmodules","uritemplate-test/extended-tests.json","uritemplate-test/negative-tests.json","uritemplate-test/README.md","uritemplate-test/spec-examples-by-sections.json","uritemplate-test/spec-examples.json"],"version":"0.2.0","readmeFilename":"README.md","gitHead":"901b85201a821427dfb4591b56aea3a70d45c67c","devDependencies":{},"repository":{"type":"git","url":"https://github.com/fxa/uritemplate-js.git"},"license":"MIT","readme":"URI Template JS\r\n===============\r\n\r\nThis is a javascript implementation of [RFC6570](http://tools.ietf.org/html/rfc6570) - URI Template,\r\nand can expand templates up to and including Level 4 in that specification.\r\n\r\nIt exposes a constructor function UriTemplate with the two methods:\r\n\r\n* (static) parse(uriTemplateText) returning an instance of UriTemplate\r\n* expand(variables) returning an string\r\n\r\nRequirements\r\n------------\r\n\r\nYou can use uritemplate.js in any even not so modern browser (Tested even with IE8 in IE7-Mode), see file demo.html.\r\nBut you can also use it with node:\r\n\r\n**npm install uritemplate**\r\n\r\nand then:\r\n\r\n    var\r\n        UriTemplate = require('uritemplate'),\r\n        template;\r\n    template = UriTemplate.parse('{?query*})';\r\n    template.expand({query: {first: 1, second: 2}});\r\n    --> \"?first=1&second=2\"\r\n\r\nIf you want to clone the git project, be aware of the submodule uritemplate-test.\r\nSo you have to to:\r\n\r\n    git https://github.com/fxa/uritemplate-js.git\r\n    git submodule init\r\n    git submodule update\r\n\r\nBuild\r\n-----\r\njake clean release\r\n\r\nTests\r\n-----\r\n\r\nThe integration tests are taken from https://github.com/uri-templates/uritemplate-test as a submodule.\r\nThe tests are integrated in the Jakefile.\r\n\r\nLicense\r\n-------\r\nCopyright 2013 Franz Antesberger\r\n\r\nMIT License, see http://mit-license.org/\r\n\r\nRelease Notes\r\n-------------\r\n0.2.0 heavy project refactoring, splitting source files, introducing jshint (preparation of next steps)\r\n\r\nNext Steps\r\n----------\r\n* Implementing unit tests (now only dummy test implemented)\r\n* Updating uritemplate-test (mnot added some new tests and removed some wrong. At the moment I cannot update, because the new tests will not pass)\r\n* A new method extract(uri), which tries to extract the variables from a given uri.\r\n  This is harder, than you might think\r\n","_id":"uritemplate@0.2.0","dist":{"shasum":"a383b80b42ca1d278bc1f41165183a92d1374d71","tarball":"https://registry.npmjs.org/uritemplate/-/uritemplate-0.2.0.tgz","integrity":"sha512-saCZqlXdByyXYrSoNvXbTNblAjOJJ7nQAh+P1jiJHmWqNacq2zyLnuqUpWG98o1bZbdappUuetXTslylAsVJKg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDcpRiDLoix+U072y1lbBejU0CHV/dSm+vriRRTK8J5xQIgHCY3vVrebMIjOCHnENQl/WAxVaGqnV7PP3WduaWOFBQ="}]},"_npmVersion":"1.1.69","_npmUser":{"name":"fxa","email":"info@franz-antesberger.de"},"maintainers":[{"name":"fxa","email":"info@franz-antesberger.de"}],"directories":{}},"0.2.1":{"name":"uritemplate","description":"An UriTemplate implementation of rfc 6570","homepage":"https://www.github.com/fxa/uritemplate-js","keywords":["util","uri","template","rfc6570"],"author":{"name":"Franz Antesberger"},"contributors":[],"dependencies":{},"main":"bin/uritemplate.js","licenses":[{"type":"MIT","url":"http://www.opensource.org/licenses/mit-license.php"}],"files":["src","test","bin","Jakefile.js","own-testcases.json","demo.html","demo_AMD.html","README.md","reqire.js",".gitmodules","uritemplate-test/extended-tests.json","uritemplate-test/negative-tests.json","uritemplate-test/README.md","uritemplate-test/spec-examples-by-sections.json","uritemplate-test/spec-examples.json"],"version":"0.2.1","readmeFilename":"README.md","gitHead":"901b85201a821427dfb4591b56aea3a70d45c67c","devDependencies":{},"repository":{"type":"git","url":"https://github.com/fxa/uritemplate-js.git"},"license":"MIT","readme":"URI Template JS\r\n===============\r\n\r\nThis is a javascript implementation of [RFC6570](http://tools.ietf.org/html/rfc6570) - URI Template,\r\nand can expand templates up to and including Level 4 in that specification.\r\n\r\nIt exposes a constructor function UriTemplate with the two methods:\r\n\r\n* (static) parse(uriTemplateText) returning an instance of UriTemplate\r\n* expand(variables) returning an string\r\n\r\nRequirements\r\n------------\r\n\r\nYou can use uritemplate.js in any even not so modern browser (Tested even with IE8 in IE7-Mode), see file demo.html.\r\nBut you can also use it with node:\r\n\r\n**npm install uritemplate**\r\n\r\nand then:\r\n\r\n    var\r\n        UriTemplate = require('uritemplate'),\r\n        template;\r\n    template = UriTemplate.parse('{?query*})';\r\n    template.expand({query: {first: 1, second: 2}});\r\n    --> \"?first=1&second=2\"\r\n\r\nIf you want to clone the git project, be aware of the submodule uritemplate-test.\r\nSo you have to to:\r\n\r\n    git https://github.com/fxa/uritemplate-js.git\r\n    git submodule init\r\n    git submodule update\r\n\r\nBuild\r\n-----\r\njake clean release\r\n\r\nTests\r\n-----\r\n\r\nThe integration tests are taken from https://github.com/uri-templates/uritemplate-test as a submodule.\r\nThe tests are integrated in the Jakefile.\r\n\r\nLicense\r\n-------\r\nCopyright 2013 Franz Antesberger\r\n\r\nMIT License, see http://mit-license.org/\r\n\r\nRelease Notes\r\n-------------\r\n0.2.0 heavy project refactoring, splitting source files, introducing jshint (preparation of next steps)\r\n0.2.1 fixed a bug in package.json\r\n\r\nNext Steps\r\n----------\r\n* Implementing unit tests (now only dummy test implemented)\r\n* Updating uritemplate-test (mnot added some new tests and removed some wrong. At the moment I cannot update, because the new tests will not pass)\r\n* A new method extract(uri), which tries to extract the variables from a given uri.\r\n  This is harder, than you might think\r\n","_id":"uritemplate@0.2.1","dist":{"shasum":"7e71b6fa2ce8341587537284f3f7671f84370878","tarball":"https://registry.npmjs.org/uritemplate/-/uritemplate-0.2.1.tgz","integrity":"sha512-R3Pw/cerEVzBli4aJv0QzZb+QtVWC5s4hbMGTfrLLYAxqjQAVU9y8UhOC7cLZo4+w2WL+7QwPQZVgnrLrzfgbg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGKUDuF1ShRvV6Ibl1tXpuX40Eo2bucpqtma2eFqS8ZFAiEA/aUECphwTDiJRrHznI13KmiTsZfTVBMC19ZOamzVYuk="}]},"_npmVersion":"1.1.69","_npmUser":{"name":"fxa","email":"info@franz-antesberger.de"},"maintainers":[{"name":"fxa","email":"info@franz-antesberger.de"}],"directories":{}},"0.2.2":{"name":"uritemplate","description":"An UriTemplate implementation of rfc 6570","homepage":"https://www.github.com/fxa/uritemplate-js","keywords":["util","uri","template","rfc6570"],"author":{"name":"Franz Antesberger"},"contributors":[],"dependencies":{},"main":"bin/uritemplate.js","licenses":[{"type":"MIT","url":"http://www.opensource.org/licenses/mit-license.php"}],"files":["src","test","bin","Jakefile.js","own-testcases.json","demo.html","demo_AMD.html","README.md","reqire.js",".gitmodules","uritemplate-test/extended-tests.json","uritemplate-test/negative-tests.json","uritemplate-test/README.md","uritemplate-test/spec-examples-by-sections.json","uritemplate-test/spec-examples.json"],"version":"0.2.2","readmeFilename":"README.md","gitHead":"901b85201a821427dfb4591b56aea3a70d45c67c","devDependencies":{"jshint":"*","nodeunit":"*","jake":"*","uglify-js":"*","async":"*"},"repository":{"type":"git","url":"https://github.com/fxa/uritemplate-js.git"},"license":"MIT","readme":"URI Template JS\r\n===============\r\n\r\nThis is a javascript implementation of [RFC6570](http://tools.ietf.org/html/rfc6570) - URI Template,\r\nand can expand templates up to and including Level 4 in that specification.\r\n\r\nIt exposes a constructor function UriTemplate with the two methods:\r\n\r\n* (static) parse(uriTemplateText) returning an instance of UriTemplate\r\n* expand(variables) returning an string\r\n\r\nRequirements\r\n------------\r\n\r\nYou can use uritemplate.js in any even not so modern browser (Tested even with IE8 in IE7-Mode), see file demo.html.\r\nBut you can also use it with node:\r\n\r\n**npm install uritemplate**\r\n\r\nand then in a node application:\r\n\r\n    var\r\n        UriTemplate = require('uritemplate'),\r\n        template;\r\n    template = UriTemplate.parse('{?query*})';\r\n    template.expand({query: {first: 1, second: 2}});\r\n    --> \"?first=1&second=2\"\r\n\r\nor within a html document (see also demo.html):\r\n\r\n    <script type=\"text/javascript\" src=\"bin/uritemplate.js\"></script>\r\n    <script type=\"text/javascript\">\r\n        var template = UriTemplate.parse('{?query*}');\r\n        alert(template.expand({query: {first: 1, second: 2}}));\r\n    </script>\r\n\r\n\r\nIf you want to clone the git project, be aware of the submodule uritemplate-test.\r\nSo you have to to:\r\n\r\n    git https://github.com/fxa/uritemplate-js.git\r\n    git submodule init\r\n    git submodule update\r\n\r\nBuild\r\n-----\r\njake clean build\r\n\r\nTests\r\n-----\r\n\r\nThe integration tests are taken from https://github.com/uri-templates/uritemplate-test as a submodule.\r\nThe tests are integrated in the Jakefile.\r\n\r\nLicense\r\n-------\r\nCopyright 2013 Franz Antesberger\r\n\r\nMIT License, see http://mit-license.org/\r\n\r\nRelease Notes\r\n-------------\r\n* 0.2.2 fixed pct encoding bug with multibyte utf8 chars\r\n* 0.2.1 fixed a bug in package.json\r\n* 0.2.0 heavy project refactoring, splitting source files, introducing jshint (preparation of next steps)\r\n\r\nNext Steps\r\n----------\r\n* Implementing unit tests (now only dummy test implemented)\r\n* Updating uritemplate-test (mnot added some new tests and removed some wrong. At the moment I cannot update, because the new tests will not pass)\r\n* A new method extract(uri), which tries to extract the variables from a given uri.\r\n  This is harder, than you might think\r\n","_id":"uritemplate@0.2.2","dist":{"shasum":"a1699dd2080ec60cde298b52996dcf90555634f9","tarball":"https://registry.npmjs.org/uritemplate/-/uritemplate-0.2.2.tgz","integrity":"sha512-a9ZYXtUxDjOcIXIJ00GvgPSPZZU928c199hrierp3Suu19eUCSYlXUnriD4rjRBA97rRDiHFWH5EMF9cC0eFPw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCRCkrm6CVPBcvMHhCcKd63hGR8VkZC7+D6aSbb1JdsLQIhAJYxVAu1WSBKJO4sd+W7ZJD0cKlKyHuTfg3AF8OAfS7g"}]},"_npmVersion":"1.1.69","_npmUser":{"name":"fxa","email":"info@franz-antesberger.de"},"maintainers":[{"name":"fxa","email":"info@franz-antesberger.de"}],"directories":{}},"0.2.3":{"name":"uritemplate","description":"An UriTemplate implementation of rfc 6570","homepage":"https://www.github.com/fxa/uritemplate-js","keywords":["util","uri","template","rfc6570"],"author":{"name":"Franz Antesberger"},"contributors":[],"dependencies":{},"main":"bin/uritemplate.js","licenses":[{"type":"MIT","url":"http://www.opensource.org/licenses/mit-license.php"}],"files":["src","test","bin","Jakefile.js","own-testcases.json","demo.html","demo_AMD.html","README.md","reqire.js",".gitmodules","uritemplate-test/extended-tests.json","uritemplate-test/negative-tests.json","uritemplate-test/README.md","uritemplate-test/spec-examples-by-sections.json","uritemplate-test/spec-examples.json"],"version":"0.2.3","readmeFilename":"README.md","gitHead":"901b85201a821427dfb4591b56aea3a70d45c67c","devDependencies":{"jshint":"*","nodeunit":"*","jake":"*","uglify-js":"*","async":"*"},"repository":{"type":"git","url":"https://github.com/fxa/uritemplate-js.git"},"license":"MIT","readme":"URI Template JS\r\n===============\r\n\r\nThis is a javascript implementation of [RFC6570](http://tools.ietf.org/html/rfc6570) - URI Template,\r\nand can expand templates up to and including Level 4 in that specification.\r\n\r\nIt exposes a constructor function UriTemplate with the two methods:\r\n\r\n* (static) parse(uriTemplateText) returning an instance of UriTemplate\r\n* expand(variables) returning an string\r\n\r\nRequirements\r\n------------\r\n\r\nYou can use uritemplate.js in any even not so modern browser (Tested even with IE8 in IE7-Mode), see file demo.html.\r\nBut you can also use it with node:\r\n\r\n**npm install uritemplate**\r\n\r\nand then in a node application:\r\n\r\n    var\r\n        UriTemplate = require('uritemplate'),\r\n        template;\r\n    template = UriTemplate.parse('{?query*})';\r\n    template.expand({query: {first: 1, second: 2}});\r\n    --> \"?first=1&second=2\"\r\n\r\nor within a html document (see also demo.html):\r\n\r\n    <script type=\"text/javascript\" src=\"bin/uritemplate.js\"></script>\r\n    <script type=\"text/javascript\">\r\n        var template = UriTemplate.parse('{?query*}');\r\n        alert(template.expand({query: {first: 1, second: 2}}));\r\n    </script>\r\n\r\n\r\nIf you want to clone the git project, be aware of the submodule uritemplate-test.\r\nSo you have to to:\r\n\r\n    git https://github.com/fxa/uritemplate-js.git\r\n    git submodule init\r\n    git submodule update\r\n\r\nBuild\r\n-----\r\njake clean build\r\n\r\nTests\r\n-----\r\n\r\nThe integration tests are taken from https://github.com/uri-templates/uritemplate-test as a submodule.\r\nThe tests are integrated in the Jakefile.\r\n\r\nLicense\r\n-------\r\nCopyright 2013 Franz Antesberger\r\n\r\nMIT License, see http://mit-license.org/\r\n\r\nRelease Notes\r\n-------------\r\n* 0.2.3 fixed bug with empty objects ('{?empty}' with '{empty:{}}' shall expand to '?empty=')\r\n* 0.2.2 fixed pct encoding bug with multibyte utf8 chars\r\n* 0.2.1 fixed a bug in package.json\r\n* 0.2.0 heavy project refactoring, splitting source files, introducing jshint (preparation of next steps)\r\n\r\nNext Steps\r\n----------\r\n* Implementing meaningful unit tests (now only dummy test implemented)\r\n* A new method extract(uri), which tries to extract the variables from a given uri.\r\n  This is harder, than you might think\r\n","_id":"uritemplate@0.2.3","dist":{"shasum":"19d9f0082e0669b469f8bba707bf0e20d3fbf940","tarball":"https://registry.npmjs.org/uritemplate/-/uritemplate-0.2.3.tgz","integrity":"sha512-VCPJH1KRRa3s2B/S6VB41EwfalKL7i0e0XW8/Pb5yNJadx8tT+pbDitST6szcEUDZDf2hCna+VsxfqsssE1VfA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCF8C+9H/gZ96YVrvlDk3zalhzwDm0UklURpbe+YwcGqQIgZBbMtfKDS2QHTFEfmK3m9Y6h0yhVSljrMzksV7MOjww="}]},"_npmVersion":"1.1.69","_npmUser":{"name":"fxa","email":"info@franz-antesberger.de"},"maintainers":[{"name":"fxa","email":"info@franz-antesberger.de"}],"directories":{}},"0.2.4":{"name":"uritemplate","description":"An UriTemplate implementation of rfc 6570","homepage":"https://www.github.com/fxa/uritemplate-js","keywords":["util","uri","template","rfc6570"],"author":{"name":"Franz Antesberger"},"contributors":[],"dependencies":{},"main":"bin/uritemplate.js","licenses":[{"type":"MIT","url":"http://www.opensource.org/licenses/mit-license.php"}],"files":["src","test","bin","Jakefile.js","own-testcases.json","demo.html","demo_AMD.html","README.md","require.js",".gitmodules","uritemplate-test/extended-tests.json","uritemplate-test/negative-tests.json","uritemplate-test/README.md","uritemplate-test/spec-examples-by-sections.json","uritemplate-test/spec-examples.json"],"version":"0.2.4","readmeFilename":"README.md","gitHead":"901b85201a821427dfb4591b56aea3a70d45c67c","devDependencies":{"jshint":"*","nodeunit":"*","jake":"*","uglify-js":"*","async":"*"},"repository":{"type":"git","url":"https://github.com/fxa/uritemplate-js.git"},"readme":"URI Template JS\r\n===============\r\n\r\nThis is a javascript implementation of [RFC6570](http://tools.ietf.org/html/rfc6570) - URI Template,\r\nand can expand templates up to and including Level 4 in that specification.\r\n\r\nIt exposes a constructor function UriTemplate with the two methods:\r\n\r\n* (static) parse(uriTemplateText) returning an instance of UriTemplate\r\n* expand(variables) returning an string\r\n\r\nBe aware, that a parsed UriTemplate is frozen, so it is stateless. You can reuse instances of UriTemplates.\r\n\r\nRequirements\r\n------------\r\n\r\nYou can use uritemplate.js in any even not so modern browser (Tested even with IE8 in IE7-Mode), see file demo.html.\r\nBut you can also use it with node:\r\n\r\n**npm install uritemplate**\r\n\r\nand then in a node application:\r\n\r\n    var\r\n        UriTemplate = require('uritemplate'),\r\n        template;\r\n    template = UriTemplate.parse('{?query*})';\r\n    template.expand({query: {first: 1, second: 2}});\r\n    --> \"?first=1&second=2\"\r\n\r\nor within a html document (see also demo.html):\r\n\r\n    <script type=\"text/javascript\" src=\"bin/uritemplate.js\"></script>\r\n    <script type=\"text/javascript\">\r\n        var template = UriTemplate.parse('{?query*}');\r\n        alert(template.expand({query: {first: 1, second: 2}}));\r\n    </script>\r\n\r\n\r\nIf you want to clone the git project, be aware of the submodule uritemplate-test.\r\nSo you have to to:\r\n\r\n    git https://github.com/fxa/uritemplate-js.git\r\n    git submodule init\r\n    git submodule update\r\n\r\nBuild\r\n-----\r\njake clean build\r\n\r\nTests\r\n-----\r\n\r\nThe integration tests are taken from https://github.com/uri-templates/uritemplate-test as a submodule.\r\nThe tests are integrated in the Jakefile.\r\n\r\nLicense\r\n-------\r\nCopyright 2013 Franz Antesberger\r\n\r\nMIT License, see http://mit-license.org/\r\n\r\nRelease Notes\r\n-------------\r\n* 0.2.4 fixed double encoding according [RubenVerborgh] and some Prefix modifiers bugs\r\n* 0.2.3 fixed bug with empty objects ('{?empty}' with '{empty:{}}' shall expand to '?empty=')\r\n* 0.2.2 fixed pct encoding bug with multibyte utf8 chars\r\n* 0.2.1 fixed a bug in package.json\r\n* 0.2.0 heavy project refactoring, splitting source files, introducing jshint (preparation of next steps)\r\n\r\nNext Steps\r\n----------\r\n* Implementing more unit tests (now only a view tests are implemented)\r\n* A new method extract(uri), which tries to extract the variables from a given uri.\r\n  This is harder, than you might think\r\n","_id":"uritemplate@0.2.4","dist":{"shasum":"7992a56c1cbaa767a4a14e178a7a335249f1fb57","tarball":"https://registry.npmjs.org/uritemplate/-/uritemplate-0.2.4.tgz","integrity":"sha512-lCLDEH1FT9qexy3mXC5q4EAH70bn0qeKhQvMZzOrfSSBt3fTbB+oJti+cA7ThfjumGkNW5IeOGtAzfJ/u5rbtw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEounJcA+uph9zTenIOOoWhbXaG+wIgn1ydQof1eyDyhAiBiLeyOfSF9Q0BPObmL1uKQMu8b6GR0C034zOcBPLhb/w=="}]},"_npmVersion":"1.1.69","_npmUser":{"name":"fxa","email":"info@franz-antesberger.de"},"maintainers":[{"name":"fxa","email":"info@franz-antesberger.de"}],"directories":{}},"0.3.1":{"name":"uritemplate","description":"An UriTemplate implementation of rfc 6570","homepage":"https://www.github.com/fxa/uritemplate-js","keywords":["util","uri","template","rfc6570"],"author":{"name":"Franz Antesberger"},"contributors":[],"dependencies":{},"main":"bin/uritemplate.js","licenses":[{"type":"MIT","url":"http://www.opensource.org/licenses/mit-license.php"}],"files":["src","test","bin","Jakefile.js","own-testcases.json","demo.html","demo_AMD.html","README.md","require.js",".gitmodules","uritemplate-test/extended-tests.json","uritemplate-test/negative-tests.json","uritemplate-test/README.md","uritemplate-test/spec-examples-by-sections.json","uritemplate-test/spec-examples.json"],"version":"0.3.1","readmeFilename":"README.md","gitHead":"901b85201a821427dfb4591b56aea3a70d45c67c","devDependencies":{"jshint":"*","nodeunit":"*","jake":"*","uglify-js":"*","async":"*"},"repository":{"type":"git","url":"https://github.com/fxa/uritemplate-js.git"},"readme":"URI Template JS\r\n===============\r\n\r\nThis is a javascript implementation of [RFC6570](http://tools.ietf.org/html/rfc6570) - URI Template,\r\nand can expand templates up to and including Level 4 in that specification.\r\n\r\nIt exposes a constructor function UriTemplate with the two methods:\r\n\r\n* (static) parse(uriTemplateText) returning an instance of UriTemplate\r\n* expand(variables) returning an string\r\n\r\nBe aware, that a parsed UriTemplate is frozen, so it is stateless. You can reuse instances of UriTemplates.\r\n\r\nRequirements\r\n------------\r\n\r\nYou can use uritemplate.js in any even not so modern browser (Tested even with IE8 in IE7-Mode), see file demo.html.\r\nBut you can also use it with node:\r\n\r\n**npm install uritemplate**\r\n\r\nand then in a node application:\r\n\r\n    var\r\n        UriTemplate = require('uritemplate'),\r\n        template;\r\n    template = UriTemplate.parse('{?query*})';\r\n    template.expand({query: {first: 1, second: 2}});\r\n    --> \"?first=1&second=2\"\r\n\r\nor within a html document (see also demo.html):\r\n\r\n    <script type=\"text/javascript\" src=\"bin/uritemplate.js\"></script>\r\n    <script type=\"text/javascript\">\r\n        var template = UriTemplate.parse('{?query*}');\r\n        alert(template.expand({query: {first: 1, second: 2}}));\r\n    </script>\r\n\r\n\r\nIf you want to clone the git project, be aware of the submodule uritemplate-test.\r\nSo you have to to:\r\n\r\n    git https://github.com/fxa/uritemplate-js.git\r\n    git submodule init\r\n    git submodule update\r\n\r\nBuild\r\n-----\r\njake clean build\r\n\r\nTests\r\n-----\r\n\r\nThe integration tests are taken from https://github.com/uri-templates/uritemplate-test as a submodule.\r\nThe tests are integrated in the Jakefile.\r\n\r\nLicense\r\n-------\r\nCopyright 2013 Franz Antesberger\r\n\r\nMIT License, see http://mit-license.org/\r\n\r\nRelease Notes\r\n-------------\r\n* 0.3.1 fixed https://github.com/fxa/uritemplate-js/issues/10 thank you, Paul-Martin!\r\n* 0.3.0 introduced UriTemplateError as exception, so the interface changed from string to UriTemplateError (as the rfc suggested)\r\n* 0.2.4 fixed double encoding according [RubenVerborgh] and some Prefix modifiers bugs\r\n* 0.2.3 fixed bug with empty objects ('{?empty}' with '{empty:{}}' shall expand to '?empty=')\r\n* 0.2.2 fixed pct encoding bug with multibyte utf8 chars\r\n* 0.2.1 fixed a bug in package.json\r\n* 0.2.0 heavy project refactoring, splitting source files, introducing jshint (preparation of next steps)\r\n\r\nNext Steps\r\n----------\r\n* Implementing more unit tests (now only a view tests are implemented)\r\n* A new method extract(uri), which tries to extract the variables from a given uri.\r\n  This is harder, than you might think\r\n","_id":"uritemplate@0.3.1","dist":{"shasum":"59c98c00f49424c8419774cabb96609ba02da0b9","tarball":"https://registry.npmjs.org/uritemplate/-/uritemplate-0.3.1.tgz","integrity":"sha512-363ibcOGNhs7EAsnNadbT/KHTE+vpIV/iwmxxdlamxXX5unvc4GNlfkpBoFaveFtNgnydaHRP3fcuz7IwfySwQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDPMQ1IwBH8R9/z5HfvdejO0WpVeLZmlEqVcZi6VagQywIgOU7tRGVvz2i96JEAmAVPFYEbOP20JnaCSTBex+NUVmo="}]},"_npmVersion":"1.1.69","_npmUser":{"name":"fxa","email":"info@franz-antesberger.de"},"maintainers":[{"name":"fxa","email":"info@franz-antesberger.de"}],"directories":{}},"0.3.2":{"name":"uritemplate","description":"An UriTemplate implementation of rfc 6570","homepage":"https://www.github.com/fxa/uritemplate-js","keywords":["util","uri","template","rfc6570"],"author":{"name":"Franz Antesberger"},"contributors":[],"dependencies":{},"main":"bin/uritemplate.js","licenses":[{"type":"MIT","url":"http://www.opensource.org/licenses/mit-license.php"}],"files":["src","test","bin","Jakefile.js","own-testcases.json","demo.html","demo_AMD.html","README.md","require.js",".gitmodules","uritemplate-test/extended-tests.json","uritemplate-test/negative-tests.json","uritemplate-test/README.md","uritemplate-test/spec-examples-by-sections.json","uritemplate-test/spec-examples.json"],"version":"0.3.2","readmeFilename":"README.md","gitHead":"901b85201a821427dfb4591b56aea3a70d45c67c","devDependencies":{"jshint":"*","nodeunit":"*","jake":"*","uglify-js":"*","async":"*"},"repository":{"type":"git","url":"https://github.com/fxa/uritemplate-js.git"},"readme":"URI Template JS\n===============\n\nThis is a javascript implementation of [RFC6570](http://tools.ietf.org/html/rfc6570) - URI Template,\nand can expand templates up to and including Level 4 in that specification.\n\nIt exposes a constructor function UriTemplate with the two methods:\n\n* (static) parse(uriTemplateText) returning an instance of UriTemplate\n* expand(variables) returning an string\n\nBe aware, that a parsed UriTemplate is frozen, so it is stateless. You can reuse instances of UriTemplates.\n\nRequirements\n------------\n\nYou can use uritemplate.js in any even not so modern browser (Tested even with IE8 in IE7-Mode), see file demo.html.\nBut you can also use it with node:\n\n**npm install uritemplate**\n\nand then in a node application:\n\n    var\n        UriTemplate = require('uritemplate'),\n        template;\n    template = UriTemplate.parse('{?query*})';\n    template.expand({query: {first: 1, second: 2}});\n    --> \"?first=1&second=2\"\n\nor within a html document (see also demo.html):\n\n    <script type=\"text/javascript\" src=\"bin/uritemplate.js\"></script>\n    <script type=\"text/javascript\">\n        var template = UriTemplate.parse('{?query*}');\n        alert(template.expand({query: {first: 1, second: 2}}));\n    </script>\n\n\nIf you want to clone the git project, be aware of the submodule uritemplate-test.\nSo you have to to:\n\n    git https://github.com/fxa/uritemplate-js.git\n    git submodule init\n    git submodule update\n\nBuild\n-----\njake clean build\n\nTests\n-----\n\nThe integration tests are taken from https://github.com/uri-templates/uritemplate-test as a submodule.\nThe tests are integrated in the Jakefile.\n\nLicense\n-------\nCopyright 2013 Franz Antesberger\n\nMIT License, see http://mit-license.org/\n\nRelease Notes\n-------------\n* 0.3.2 fixed https://github.com/fxa/uritemplate-js/issues/11 Problems with older IE versions. Thanks to anozaki!\n* 0.3.1 fixed https://github.com/fxa/uritemplate-js/issues/10 thank you, Paul-Martin!\n* 0.3.0 introduced UriTemplateError as exception, so the interface changed from string to UriTemplateError (as the rfc suggested)\n* 0.2.4 fixed double encoding according [RubenVerborgh] and some Prefix modifiers bugs\n* 0.2.3 fixed bug with empty objects ('{?empty}' with '{empty:{}}' shall expand to '?empty=')\n* 0.2.2 fixed pct encoding bug with multibyte utf8 chars\n* 0.2.1 fixed a bug in package.json\n* 0.2.0 heavy project refactoring, splitting source files, introducing jshint (preparation of next steps)\n\nNext Steps\n----------\n* Implementing more unit tests (now only a view tests are implemented)\n* A new method extract(uri), which tries to extract the variables from a given uri.\n  This is harder, than you might think\n","_id":"uritemplate@0.3.2","dist":{"shasum":"63f8e6122a32396c7ee6404d48f7d179f39059f5","tarball":"https://registry.npmjs.org/uritemplate/-/uritemplate-0.3.2.tgz","integrity":"sha512-H1XetvAwmjSC7uJqn0M3sByWBz/vjs+e59EI2etom+Ki/DMtuF2gcMGcOMga+EEVAw8XheO6pkymYw7IPfubGA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDtQvBDyezIyvyJ46jUY/zP5Q307iFxjFHZDlIIITcyzAiBi9fKAl5YcdeG4oB/KH8SQq2LpgXcsH9LSodkXdj2r2A=="}]},"_npmVersion":"1.1.69","_npmUser":{"name":"fxa","email":"info@franz-antesberger.de"},"maintainers":[{"name":"fxa","email":"info@franz-antesberger.de"}],"directories":{}},"0.3.3":{"name":"uritemplate","description":"An UriTemplate implementation of rfc 6570","homepage":"https://www.github.com/fxa/uritemplate-js","keywords":["util","uri","template","rfc6570"],"author":{"name":"Franz X Antesberger"},"contributors":[],"dependencies":{},"main":"bin/uritemplate.js","licenses":[{"type":"MIT","url":"http://www.opensource.org/licenses/mit-license.php"}],"files":["src","test","bin","Jakefile.js","own-testcases.json","demo.html","demo_AMD.html","README.md","require.js",".gitmodules","uritemplate-test/extended-tests.json","uritemplate-test/negative-tests.json","uritemplate-test/README.md","uritemplate-test/spec-examples-by-sections.json","uritemplate-test/spec-examples.json"],"version":"0.3.3","readmeFilename":"README.md","gitHead":"901b85201a821427dfb4591b56aea3a70d45c67c","devDependencies":{"jshint":"*","nodeunit":"*","jake":"*","uglify-js":"*","async":"*"},"repository":{"type":"git","url":"https://github.com/fxa/uritemplate-js.git"},"readme":"URI Template JS\n===============\n\nThis is a javascript implementation of [RFC6570](http://tools.ietf.org/html/rfc6570) - URI Template,\nand can expand templates up to and including Level 4 in that specification.\n\nIt exposes a constructor function UriTemplate with the two methods:\n\n* (static) parse(uriTemplateText) returning an instance of UriTemplate\n* expand(variables) returning an string\n\nBe aware, that a parsed UriTemplate is frozen, so it is stateless. You can reuse instances of UriTemplates.\n\nRequirements\n------------\n\nYou can use uritemplate.js in any even not so modern browser (Tested even with IE8 in IE7-Mode), see file demo.html.\nBut you can also use it with node:\n\n**npm install uritemplate**\n\nand then in a node application:\n\n    var\n        UriTemplate = require('uritemplate'),\n        template;\n    template = UriTemplate.parse('{?query*})';\n    template.expand({query: {first: 1, second: 2}});\n    --> \"?first=1&second=2\"\n\nor within a html document (see also demo.html):\n\n    <script type=\"text/javascript\" src=\"bin/uritemplate.js\"></script>\n    <script type=\"text/javascript\">\n        var template = UriTemplate.parse('{?query*}');\n        alert(template.expand({query: {first: 1, second: 2}}));\n    </script>\n\n\nIf you want to clone the git project, be aware of the submodule uritemplate-test.\nSo you have to to:\n\n    git https://github.com/fxa/uritemplate-js.git\n    git submodule init\n    git submodule update\n\nBuild\n-----\njake clean build\n\nTests\n-----\n\nThe integration tests are taken from https://github.com/uri-templates/uritemplate-test as a submodule.\nThe tests are integrated in the Jakefile.\n\nLicense\n-------\nCopyright 2013 Franz Antesberger\n\nMIT License, see http://mit-license.org/\n\nRelease Notes\n-------------\n* 0.3.3 fixed https://github.com/fxa/uritemplate-js/issues/12 Pct-Encoding-Error with chars < 0x100 (missing 0-padding). Thanks to https://github.com/pfraze!\n* 0.3.2 fixed https://github.com/fxa/uritemplate-js/issues/11 Problems with older IE versions. Thanks to anozaki!\n* 0.3.1 fixed https://github.com/fxa/uritemplate-js/issues/10 thank you, Paul-Martin!\n* 0.3.0 introduced UriTemplateError as exception, so the interface changed from string to UriTemplateError (as the rfc suggested)\n* 0.2.4 fixed double encoding according [RubenVerborgh] and some Prefix modifiers bugs\n* 0.2.3 fixed bug with empty objects ('{?empty}' with '{empty:{}}' shall expand to '?empty=')\n* 0.2.2 fixed pct encoding bug with multibyte utf8 chars\n* 0.2.1 fixed a bug in package.json\n* 0.2.0 heavy project refactoring, splitting source files, introducing jshint (preparation of next steps)\n\nNext Steps\n----------\n* Implementing more unit tests (now only a view tests are implemented)\n* A new method extract(uri), which tries to extract the variables from a given uri.\n  This is harder, than you might think\n","_id":"uritemplate@0.3.3","dist":{"shasum":"edc8379cf18649d69a6057475e9cc0848bbc91c8","tarball":"https://registry.npmjs.org/uritemplate/-/uritemplate-0.3.3.tgz","integrity":"sha512-hqHHh6BP32hp/ibyg5u8eP5jmnrOEJ1zt13RYNu1dZ6+eoY+y1zFBKd31RvQ9ia3YyjiNYwJQEHU3qzgNAFJ8w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGz0M3wPTNdK5p8m079n4AmNbvGlgPoRMsBlhKTS0LmTAiEAr3tEsvTkMwdQpjduIQqKtd0eQli6CluK5xUeIzgAXts="}]},"_npmVersion":"1.1.69","_npmUser":{"name":"fxa","email":"info@franz-antesberger.de"},"maintainers":[{"name":"fxa","email":"info@franz-antesberger.de"}],"directories":{}},"0.3.4":{"name":"uritemplate","description":"An UriTemplate implementation of rfc 6570","homepage":"https://www.github.com/fxa/uritemplate-js","keywords":["util","uri","template","rfc6570"],"author":{"name":"Franz X Antesberger"},"contributors":[],"dependencies":{},"main":"bin/uritemplate.js","scripts":{"test":"jake clean build"},"licenses":[{"type":"MIT","url":"http://www.opensource.org/licenses/mit-license.php"}],"files":["src","test","bin","build","uritemplate-test","Jakefile.js","own-testcases.json","demo.html","demo_AMD.html","README.md","require.js",".gitmodules","uritemplate-test/extended-tests.json","uritemplate-test/negative-tests.json","uritemplate-test/README.md","uritemplate-test/spec-examples-by-sections.json","uritemplate-test/spec-examples.json"],"version":"0.3.4","readmeFilename":"README.md","gitHead":"901b85201a821427dfb4591b56aea3a70d45c67c","devDependencies":{"jshint":"latest","nodeunit":"latest","jake":"latest","uglify-js":"latest","async":"latest"},"repository":{"type":"git","url":"https://github.com/fxa/uritemplate-js.git"},"readme":"URI Template JS\r\n===============\r\n\r\nThis is a javascript implementation of [RFC6570](http://tools.ietf.org/html/rfc6570) - URI Template,\r\nand can expand templates up to and including Level 4 in that specification.\r\n\r\nIt exposes a constructor function UriTemplate with the two methods:\r\n\r\n* (static) parse(uriTemplateText) returning an instance of UriTemplate\r\n* expand(variables) returning an string\r\n\r\nBe aware, that a parsed UriTemplate is frozen, so it is stateless. You can reuse instances of UriTemplates.\r\n\r\nRequirements\r\n------------\r\n\r\nYou can use uritemplate.js in any even not so modern browser (Tested even with IE8 in IE7-Mode), see file demo.html.\r\nBut you can also use it with node:\r\n\r\n**npm install uritemplate**\r\n\r\nand then in a node application:\r\n\r\n    var\r\n        UriTemplate = require('uritemplate'),\r\n        template;\r\n    template = UriTemplate.parse('{?query*})';\r\n    template.expand({query: {first: 1, second: 2}});\r\n    --> \"?first=1&second=2\"\r\n\r\nor within a html document (see also demo.html):\r\n\r\n    <script type=\"text/javascript\" src=\"bin/uritemplate.js\"></script>\r\n    <script type=\"text/javascript\">\r\n        var template = UriTemplate.parse('{?query*}');\r\n        alert(template.expand({query: {first: 1, second: 2}}));\r\n    </script>\r\n\r\n\r\nIf you want to clone the git project, be aware of the submodule uritemplate-test.\r\nSo you have to to:\r\n\r\n    git clone --recursive https://github.com/fxa/uritemplate-js.git\r\n\r\n    \r\nBuild\r\n-----\r\n    npm install\r\n    npm test\r\n\r\nTests\r\n-----\r\n\r\nThe integration tests are taken from https://github.com/uri-templates/uritemplate-test as a submodule.\r\nThe tests are integrated in the Jakefile.\r\n\r\nLicense\r\n-------\r\nCopyright 2013 Franz Antesberger\r\n\r\nMIT License, see http://mit-license.org/\r\n\r\nRelease Notes\r\n-------------\r\n* 0.3.4 minor package.json changes to support npm install and npm test \r\n* 0.3.3 fixed https://github.com/fxa/uritemplate-js/issues/12 Pct-Encoding-Error with chars < 0x100 (missing 0-padding). Thanks to https://github.com/pfraze!\r\n* 0.3.2 fixed https://github.com/fxa/uritemplate-js/issues/11 Problems with older IE versions. Thanks to anozaki!\r\n* 0.3.1 fixed https://github.com/fxa/uritemplate-js/issues/10 thank you, Paul-Martin!\r\n* 0.3.0 introduced UriTemplateError as exception, so the interface changed from string to UriTemplateError (as the rfc suggested)\r\n* 0.2.4 fixed double encoding according [RubenVerborgh] and some Prefix modifiers bugs\r\n* 0.2.3 fixed bug with empty objects ('{?empty}' with '{empty:{}}' shall expand to '?empty=')\r\n* 0.2.2 fixed pct encoding bug with multibyte utf8 chars\r\n* 0.2.1 fixed a bug in package.json\r\n* 0.2.0 heavy project refactoring, splitting source files, introducing jshint (preparation of next steps)\r\n\r\nNext Steps\r\n----------\r\n* Implementing more unit tests (now only a view tests are implemented)\r\n* A new method extract(uri), which tries to extract the variables from a given uri.\r\n  This is harder, than you might think\r\n","bugs":{"url":"https://github.com/fxa/uritemplate-js/issues"},"_id":"uritemplate@0.3.4","dist":{"shasum":"05d0a853ffbc8b0f49aa3d4d2ad777b0d1ee070c","tarball":"https://registry.npmjs.org/uritemplate/-/uritemplate-0.3.4.tgz","integrity":"sha512-enADBvHfhjrwxFMTVWeIIYz51SZ91uC6o2MR/NQTVljJB6HTZ8eQL3Q7JBj3RxNISA14MOwJaU3vpf5R6dyxHA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCAfmGp6cpMuIZXE1P0ZkNfHsTnAv3E2jkEn+ZT00jCagIgTH8rELIpSye3fQk3/QSgxxeUbeC1q2tddbmrhIWI618="}]},"_from":".","_npmVersion":"1.2.32","_npmUser":{"name":"fxa","email":"info@franz-antesberger.de"},"maintainers":[{"name":"fxa","email":"info@franz-antesberger.de"}]}},"readme":"URI Template JS\r\n===============\r\n\r\nThis is a javascript implementation of [RFC6570](http://tools.ietf.org/html/rfc6570) - URI Template,\r\nand can expand templates up to and including Level 4 in that specification.\r\n\r\nIt exposes a constructor function UriTemplate with the two methods:\r\n\r\n* (static) parse(uriTemplateText)\r\n* expand(variables)\r\n\r\nRequirements\r\n------------\r\n\r\nYou can use uritemplate.js in any modern browsers (Tested even with IE8 in IE7-Mode), see file demo.html.\r\nBut you can also use it with node:\r\n\r\n    npm install uritemplate\r\n\r\n    var\r\n        UriTemplate = require('uritemplate'),\r\n        template;\r\n    template = UriTemplate.parse('{?query*}';\r\n    template.expand({query: {first: 1, second: 2}});\r\n    --> \"?firstParam=firstValue&secondParam=secondValue\"\r\n\r\nTests\r\n-----\r\n\r\nThe tests are taken from https://github.com/uri-templates/uritemplate-test as a submodule.\r\nRun the tests with\r\n\r\n    node test.js\r\n\r\nComming soon\r\n------------\r\n\r\n* npm support for npm install\r\n* A new method extract(uri), which tries to extract the variables from a given uri\r\n\r\nLicense\r\n-------\r\nCopyright 2012 Franz Antesberger\r\n\r\nMIT License, see http://mit-license.org/\r\n","maintainers":[{"name":"fxa","email":"info@franz-antesberger.de"}],"time":{"modified":"2022-06-28T06:10:34.167Z","created":"2012-06-10T12:24:55.660Z","0.1.1":"2012-06-10T12:25:01.394Z","0.1.2":"2012-06-15T07:44:34.044Z","0.1.3":"2012-06-30T13:20:52.139Z","0.2.0":"2013-01-15T07:31:18.709Z","0.2.1":"2013-01-15T07:41:23.033Z","0.2.2":"2013-01-19T20:50:46.084Z","0.2.3":"2013-01-20T11:36:10.111Z","0.2.4":"2013-01-27T11:07:53.913Z","0.3.1":"2013-03-17T12:55:18.776Z","0.3.2":"2013-05-18T11:35:31.561Z","0.3.3":"2013-05-26T16:22:39.885Z","0.3.4":"2013-07-13T17:52:54.827Z"},"author":{"name":"Franz X Antesberger"},"repository":{"type":"git","url":"https://github.com/fxa/uritemplate-js.git"},"users":{"iknew.today":true}}