{"_id":"template-error","_rev":"5-dcbd8002090c5b6a1862dec23dc07c2d","name":"template-error","description":"Make template errors easy to understand and fix.","dist-tags":{"latest":"0.1.2"},"versions":{"0.1.0":{"name":"template-error","description":"Re-throw an.","version":"0.1.0","homepage":"https://github.com/jonschlinkert/template-error","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/template-error.git"},"bugs":{"url":"https://github.com/jonschlinkert/template-error/issues"},"license":{"type":"MIT","url":"https://github.com/jonschlinkert/template-error/blob/master/LICENSE"},"files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"kind-of":"^2.0.0","lazy-cache":"^0.1.0","lodash.template":"^3.6.2","rethrow":"^0.2.0"},"devDependencies":{"mocha":"*","should":"*"},"keywords":[],"verb":{"related":{"list":["rethrow"]}},"gitHead":"ac3ef2048b5185e379507dc75c9b17bf8e396d5b","_id":"template-error@0.1.0","_shasum":"b095eb517b74242549ac3422e10586601c2df8ca","_from":".","_npmVersion":"2.10.1","_nodeVersion":"0.12.4","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"b095eb517b74242549ac3422e10586601c2df8ca","tarball":"https://registry.npmjs.org/template-error/-/template-error-0.1.0.tgz","integrity":"sha512-8pIleVxHVvsOFr+5nF3jXXzofjAGAhCWU3GVgc8YN+w4XEenQE4GWhRjDqccES2M/fWfMgj2ld7JiL/AVPRNqA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDSBChN/9IcMJDboyTTMfSLskwLlQomI35MuMRm9Mw22QIhAIxqvK379Nz0bSxJI8zZWUBn79UzrzeWfnI7I/2tDRKi"}]}},"0.1.1":{"name":"template-error","description":"Make template errors easy to understand and fix.","version":"0.1.1","homepage":"https://github.com/jonschlinkert/template-error","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/template-error.git"},"bugs":{"url":"https://github.com/jonschlinkert/template-error/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"kind-of":"^2.0.0","lazy-cache":"^0.1.0","lodash.template":"^3.6.2","rethrow":"^0.2.1"},"devDependencies":{"mocha":"*","should":"*"},"keywords":["error","rethrow","template"],"verb":{"related":{"list":["rethrow"]}},"gitHead":"92a5d71c9d13f5e4b5910d50f288559d6bc86f5f","_id":"template-error@0.1.1","_shasum":"a4344e22a553014ebd68147a0c2304a355dad39b","_from":".","_npmVersion":"2.10.1","_nodeVersion":"0.12.4","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"a4344e22a553014ebd68147a0c2304a355dad39b","tarball":"https://registry.npmjs.org/template-error/-/template-error-0.1.1.tgz","integrity":"sha512-HWMAbidrNfxmmWyitL7MnplXRngrv0vdz0aALtdb7D3CIuvmWFt9MKFhNk/vpTNdcEueTAvv0c8C7leIT5N7xQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDthVXCBLnM5GEFUxKoeipC4V6yN8MBkk/RQgS9KBpouwIhAKpv2FJk/juREuFkgqHlBPwlFNPor+nO/JujTjbd2Vlz"}]}},"0.1.2":{"name":"template-error","description":"Make template errors easy to understand and fix.","version":"0.1.2","homepage":"https://github.com/jonschlinkert/template-error","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/template-error.git"},"bugs":{"url":"https://github.com/jonschlinkert/template-error/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"engine":"^0.1.5","kind-of":"^2.0.1","lazy-cache":"^0.2.3","rethrow":"^0.2.3"},"devDependencies":{"extend-shallow":"^2.0.1","mocha":"*","should":"*"},"keywords":["error","rethrow","template"],"verb":{"related":{"list":["rethrow"]}},"gitHead":"92a5d71c9d13f5e4b5910d50f288559d6bc86f5f","_id":"template-error@0.1.2","_shasum":"18c9f600d90f2f3dfba0833e37f7cb6f413542d4","_from":".","_npmVersion":"2.10.1","_nodeVersion":"0.12.4","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"18c9f600d90f2f3dfba0833e37f7cb6f413542d4","tarball":"https://registry.npmjs.org/template-error/-/template-error-0.1.2.tgz","integrity":"sha512-soS5m+iT4k/okmMyydvMjPlmyz3CowvMcOxfgoAqccmkyF81W3D+zMi4lhqbSIhTgLhKE/Bh8wUlXzr6F+ERCw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQChBis0EgGUvr9I9nCUqzPvCc8yk0FF21byixFIU34EbQIhAO2sYVmxkILa/pBhwS4IShuJ1Xt9fRQ21mVhO0BHHMmu"}]}}},"readme":"# template-error [![NPM version](https://badge.fury.io/js/template-error.svg)](http://badge.fury.io/js/template-error)\n\n> Make template errors easy to understand and fix.\n\n## Install\n\nInstall with [npm](https://www.npmjs.com/)\n\n```sh\n$ npm i template-error --save\n```\n\n## Usage\n\n```js\nvar rethrow = require('template-error');\n\nrethrow('\\n<%= a %>\\n<%= b %>', {\n  data: {a: 'aaa'}\n});\n```\n\nWhen a template variable is not defined, like `<%= b %>` in the example above, instead of getting a cryptic error message and wasting time on debugging, you get this:\n\n<img width=\"560\" alt=\"screen shot 2015-08-11 at 3 35 27 am\" src=\"https://cloud.githubusercontent.com/assets/383994/9192549/101ba4b6-3fda-11e5-8a4f-6a03853dacd9.png\">\n\n## Related projects\n\n[rethrow](https://www.npmjs.com/package/rethrow): Re-throw an error to get better error reporting for templates. | [homepage](https://github.com/jonschlinkert/rethrow)\n\n## Running tests\n\nInstall dev dependencies:\n\n```sh\n$ npm i -d && npm test\n```\n\n## Contributing\n\nPull requests and stars are always welcome. For bugs and feature requests, [please create an issue](https://github.com/jonschlinkert/template-error/issues/new).\n\n## Author\n\n**Jon Schlinkert**\n\n+ [github/jonschlinkert](https://github.com/jonschlinkert)\n+ [twitter/jonschlinkert](http://twitter.com/jonschlinkert)\n\n## License\n\nCopyright © 2015 Jon Schlinkert\nReleased under the MIT license.\n\n***\n\n_This file was generated by [verb-cli](https://github.com/assemble/verb-cli) on August 21, 2015._\n","maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"time":{"modified":"2022-06-27T04:38:58.838Z","created":"2015-08-11T07:38:28.328Z","0.1.0":"2015-08-11T07:38:28.328Z","0.1.1":"2015-08-11T09:38:54.510Z","0.1.2":"2015-08-21T14:11:35.799Z"},"homepage":"https://github.com/jonschlinkert/template-error","keywords":["error","rethrow","template"],"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/template-error.git"},"author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"bugs":{"url":"https://github.com/jonschlinkert/template-error/issues"},"license":"MIT","readmeFilename":"README.md"}