{"_id":"template-url","_rev":"3-2c3857c50750c94fc645abf8290d3907","name":"template-url","description":"Super simple no fluff rest URL style formatting for node.","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"template-url","version":"1.0.0","description":"Super simple no fluff rest URL style formatting for node.","main":"index.js","scripts":{"test":"mocha -R spec"},"repository":{"type":"git","url":"git+https://github.com/saintedlama/template-url.git"},"keywords":["rest","url","template"],"author":{"name":"Christoph Walcher","email":"christoph.walcher@gmail.com"},"license":"ISC","bugs":{"url":"https://github.com/saintedlama/template-url/issues"},"homepage":"https://github.com/saintedlama/template-url#readme","devDependencies":{"chai":"^3.2.0","mocha":"^2.2.5"},"gitHead":"899d2d764b113814006e6461921a3d40451e4f56","_id":"template-url@1.0.0","_shasum":"d9456bee70cac6617b462a7b08db29fb813a0b09","_from":".","_npmVersion":"2.11.3","_nodeVersion":"2.3.3","_npmUser":{"name":"saintedlama","email":"christoph.walcher@gmail.com"},"dist":{"shasum":"d9456bee70cac6617b462a7b08db29fb813a0b09","tarball":"https://registry.npmjs.org/template-url/-/template-url-1.0.0.tgz","integrity":"sha512-QUjZNE7yTdIzB91sITTSYcSX5GRF5FulKvIYCqV5350NfSNfiuuCYQIJZ5PIN7k/uJ+kpurEEv9hFqRRc+JilA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICK623wommS1v7C/hTAfkw18f869btRGhEvIbfYxeeZmAiAbL+zidqfdnL9bdm6wJDYRBxdYAdwnYa7MlUM05RmbnQ=="}]},"maintainers":[{"name":"saintedlama","email":"christoph.walcher@gmail.com"}]}},"readme":"# template-url\r\nSuper simple no fluff rest URL style formatting for node.\r\n\r\n## Installation\r\n\r\n    > npm install template-url --save\r\n\r\n## Usage\r\n\r\n```javascript\r\nvar templateUrl = require('template-url');\r\n\r\nvar url = templateUrl('https://api.github.com/repos/:owner/:repo', { owner : 'saintedlama', repo: 'template-url' }); \r\n\r\n// Generates https://api.github.com/repos/saintedlama/template-url\r\n```\r\n\r\nBe aware that this module **throws** errors in case a part of the template URL cannot be resolved.\r\n\r\n## The End\r\nThis is a 27 lines module. Nothing more to say\r\n","maintainers":[{"name":"saintedlama","email":"christoph.walcher@gmail.com"}],"time":{"modified":"2022-06-27T04:41:08.330Z","created":"2015-07-25T10:12:10.881Z","1.0.0":"2015-07-25T10:12:10.881Z"},"homepage":"https://github.com/saintedlama/template-url#readme","keywords":["rest","url","template"],"repository":{"type":"git","url":"git+https://github.com/saintedlama/template-url.git"},"author":{"name":"Christoph Walcher","email":"christoph.walcher@gmail.com"},"bugs":{"url":"https://github.com/saintedlama/template-url/issues"},"license":"ISC","readmeFilename":"README.md"}