{"name":"verb-tag-jscomments","description":"Tag for Verb. Uses js-comments to parse JavaScript code comments and generate API documentation.","version":"0.1.2","homepage":"https://github.com/jonschlinkert/verb-tag-jscomments","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/verb-tag-jscomments.git"},"bugs":{"url":"https://github.com/jonschlinkert/verb-tag-jscomments/issues"},"licenses":[{"type":"MIT","url":"https://github.com/jonschlinkert/verb-tag-jscomments/blob/master/LICENSE-MIT"}],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha -R spec"},"devDependencies":{"verb":"~0.2.5","chai":"~1.9.1","mocha":"~1.18.2"},"keywords":["verbtag","verb tag"],"dependencies":{"fs-utils":"^0.4.3","js-comments":"^0.1.1","lodash":"^2.4.1"},"_id":"verb-tag-jscomments@0.1.2","_shasum":"fb4c5342e944e63cbc9ff3baa8c91dcd8ca91cab","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"fb4c5342e944e63cbc9ff3baa8c91dcd8ca91cab","tarball":"http://registry-npm.ywwl.com/verb-tag-jscomments/download/verb-tag-jscomments-0.1.2.tgz","integrity":"sha512-BuqMXZkfgX9b7zPpFKXY3/zt/ipQSRgF61PjZ5wr15SuxsYS5xFMlu4gGRrmx+0oUSAhB0vrmDjeWsec5QC+fQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDU5PzU8x2I8TpeDPH2BsDg3G98T4Cl1rOhKeE2BG9eHAiB/UKq2uRTOE1zrJQQteqUfCozF8haJhW7SqGFUb+Mjyw=="}],"size":4017,"noattachment":false,"key":"/verb-tag-jscomments/-/verb-tag-jscomments-0.1.2.tgz"},"directories":{},"readme":"# verb-tag-jscomments [![NPM version](https://badge.fury.io/js/verb-tag-jscomments.png)](http://badge.fury.io/js/verb-tag-jscomments)\n\n> Tag for Verb. Uses js-comments to parse JavaScript code comments and generate API documentation.\n\nVisit the [js-comments](https://github.com/jonschlinkert/js-comments) repo for documentation.\n\n## Install\nInstall with [npm](npmjs.org):\n\n```bash\nnpm i verb-tag-jscomments --save-dev\n```\n\n## Usage\n\nIf you're using [verb-cli][verb-cli], you will need to define `['verb-tag-jscomments']` in the `tags` property in the front matter of your project's `.verbrc.md` (or `docs/README.tmpl.md`). This registers the tag with [verb][verb]:\n\nExample:\n\n```yaml\n---\ntags: ['verb-tag-jscomments']\n---\n```\n\nIn your templates, you can now use the tag like this:\n\n```js\n{%= jscomments(\"index.js\") %}\n```\n\n_(Also note that front-matter is just one way to register verb tags, filters, and plugins. See the [verb documentation][docs] for more info.)_\n\n\n## Filtering\n\nThe easiest way to filter the output is to use Coffee front matter.\n\n```coffee\n---coffee\ntags: ['verb-tag-jscomments']\n\n# extend the function onto the context\nfn:\n  filter = (comment) -> console.log(comment)\n---\n\n{%= jscomments(\"index.js\", {fn: filter}) %}\n```\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\nCopyright (c) 2014 Jon Schlinkert, contributors.  \nReleased under the MIT license\n\n***\n\n_This file was generated by [verb-cli](https://github.com/assemble/verb-cli) on August 25, 2014._\n\n[verb]: https://github.com/assemble/verb\n[docs]: https://github.com/assemble/verb/blob/master/DOCS.md#tags\n[verb-cli]: https://github.com/assemble/verb-cli","publish_time":1401623103195,"_cnpm_publish_time":1401623103195,"dist-tags":{"latest":"0.2.2"}}