{"_id":"lint-templates","_rev":"95975","name":"lint-templates","description":"Finds helpers that aren't registered and variables that aren't defined on the context. Can be used as a middleware with assemble, Template, verb, generate, and other apps built on Template.","dist-tags":{"latest":"0.1.2"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"time":{"modified":"2021-06-03T10:32:03.000Z","created":"2015-05-24T11:43:17.041Z","0.1.2":"2015-05-24T11:45:37.456Z","0.1.1":"2015-05-24T11:43:56.775Z","0.1.0":"2015-05-24T11:43:17.041Z"},"users":{},"author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"https://github.com/jonschlinkert/lint-templates.git"},"versions":{"0.1.2":{"name":"lint-templates","description":"Finds helpers that aren't registered and variables that aren't defined on the context. Can be used as a middleware with assemble, Template, verb, generate, and other apps built on Template.","version":"0.1.2","homepage":"https://github.com/jonschlinkert/lint-templates","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"https://github.com/jonschlinkert/lint-templates.git"},"bugs":{"url":"https://github.com/jonschlinkert/lint-templates/issues"},"license":{"type":"MIT","url":"https://github.com/jonschlinkert/lint-templates/blob/master/LICENSE"},"files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"chalk":"^1.0.0","get-value":"^1.1.4","has-value":"^0.2.0","log-symbols":"^1.0.2","rethrow":"^0.1.0","set-value":"^0.2.0"},"devDependencies":{"mocha":"*","should":"*"},"keywords":[],"gitHead":"a84aaaae1d7218c1a7671071c3264ef53bbb0732","_id":"lint-templates@0.1.2","_shasum":"29d9e8312b7f03d899fbad789f959256b0fdc8db","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"29d9e8312b7f03d899fbad789f959256b0fdc8db","size":3225,"noattachment":false,"key":"/lint-templates/-/lint-templates-0.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/lint-templates/download/lint-templates-0.1.2.tgz"},"directories":{},"publish_time":1432467937456,"_cnpm_publish_time":1432467937456,"_hasShrinkwrap":false},"0.1.1":{"name":"lint-templates","description":"Finds helpers that aren't registered and variabled that aren't defined on the context. Can be used as a middleware with assemble, Template, verb, generate, and other apps built on Template.","version":"0.1.1","homepage":"https://github.com/jonschlinkert/lint-templates","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"https://github.com/jonschlinkert/lint-templates.git"},"bugs":{"url":"https://github.com/jonschlinkert/lint-templates/issues"},"license":{"type":"MIT","url":"https://github.com/jonschlinkert/lint-templates/blob/master/LICENSE"},"files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"chalk":"^1.0.0","get-value":"^1.1.4","has-value":"^0.2.0","log-symbols":"^1.0.2","rethrow":"^0.1.0","set-value":"^0.2.0"},"devDependencies":{"mocha":"*","should":"*"},"keywords":[],"_id":"lint-templates@0.1.1","_shasum":"e808d85d77d1c0efcad16c274981c4aafb413222","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"e808d85d77d1c0efcad16c274981c4aafb413222","size":3215,"noattachment":false,"key":"/lint-templates/-/lint-templates-0.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/lint-templates/download/lint-templates-0.1.1.tgz"},"directories":{},"publish_time":1432467836775,"_cnpm_publish_time":1432467836775,"_hasShrinkwrap":false},"0.1.0":{"name":"lint-templates","description":"Finds helpers that aren't registered and variabled that aren't defined on the context. Can be used as a middleware with assemble, Template, verb, generate, and other apps built on Template.","version":"0.1.0","homepage":"https://github.com/jonschlinkert/lint-templates","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"https://github.com/jonschlinkert/lint-templates.git"},"bugs":{"url":"https://github.com/jonschlinkert/lint-templates/issues"},"license":{"type":"MIT","url":"https://github.com/jonschlinkert/lint-templates/blob/master/LICENSE"},"files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"chalk":"^1.0.0","get-value":"^1.1.4","has-value":"^0.2.0","log-symbols":"^1.0.2","rethrow":"^0.1.0","set-value":"^0.2.0"},"devDependencies":{"mocha":"*","should":"*"},"keywords":[],"_id":"lint-templates@0.1.0","_shasum":"9a4bf2bf7747a930e5e9a557f769f8647dcaf6c8","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"9a4bf2bf7747a930e5e9a557f769f8647dcaf6c8","size":2329,"noattachment":false,"key":"/lint-templates/-/lint-templates-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/lint-templates/download/lint-templates-0.1.0.tgz"},"directories":{},"publish_time":1432467797041,"_cnpm_publish_time":1432467797041,"_hasShrinkwrap":false}},"readme":"# lint-templates [![NPM version](https://badge.fury.io/js/lint-templates.svg)](http://badge.fury.io/js/lint-templates)\n\n> Finds helpers that aren't registered and variabled that aren't defined on the context. Can be used as a middleware with assemble, Template, verb, generate, and other apps built on Template.\n\n## Install\n\nInstall with [npm](https://www.npmjs.com/)\n\n```sh\n$ npm i lint-templates --save\n```\n\n## Usage\n\n```js\nvar lint = require('lint-templates');\n```\n\n**Middleware**\n\nUse as a middleware with [Template] or Template-based applications, like [assemble], [verb], or [generate].\n\n```js\nvar lint = require('lint-templates');\n\nmodule.exports = function (app) {\n  return function(file, next) {\n    lint(app, file);\n    next();\n  };\n};\n```\n\nRegister the middleware:\n\n```js\ntemplate.onLoad(/\\.hbs/, lint(app));\n```\n\nAny of the following middleware VERBs should work:\n\n* `.onLoad`\n* `.preRender`\n* `.preCompile`\n* `.use`\n* `.all`\n\nAny of these \"stages\" might give you useful information depending how your project is setup.\n\n## Related projects\n\n<!-- add an array of related projects, then un-escape the helper -->\n\n* [assemble](http://assemble.io): Static site generator for Grunt.js, Yeoman and Node.js. Used by Zurb Foundation, Zurb Ink, H5BP/Effeckt,… [more](http://assemble.io)\n* [rethrow](https://github.com/jonschlinkert/rethrow): Re-throw an error to get better error reporting for templates.\n* [template](https://github.com/jonschlinkert/template): Render templates using any engine. Supports, layouts, pages, partials and custom template types. Use template… [more](https://github.com/jonschlinkert/template)\n* [verb](https://github.com/assemble/verb): Documentation generator for GitHub projects. Extremely powerful, easy to use, can generate anything from API… [more](https://github.com/assemble/verb)\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/lint-templates/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 May 24, 2015._","_attachments":{},"homepage":"https://github.com/jonschlinkert/lint-templates","bugs":{"url":"https://github.com/jonschlinkert/lint-templates/issues"},"license":{"type":"MIT","url":"https://github.com/jonschlinkert/lint-templates/blob/master/LICENSE"}}