{"name":"verb-tag-jscomments","description":"Tag for Verb. Uses js-comments to parse JavaScript code comments and generate API documentation.","version":"0.2.1","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.3.0","lodash":"^2.4.1"},"_id":"verb-tag-jscomments@0.2.1","_shasum":"f8cd65409d47ea9bec014059211cd0eb91545da3","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"f8cd65409d47ea9bec014059211cd0eb91545da3","tarball":"http://registry-npm.ywwl.com/verb-tag-jscomments/download/verb-tag-jscomments-0.2.1.tgz","integrity":"sha512-z7wEgNuXviveH60Z/V1Wmcvv2s2bHz0tI2RiGEEcCoxgwTe4lw/ilLTe+nkA9rsjZJryU1vrDVtwInpN57sxfQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIE7P+9cIgtMn8SjZiYvsXrIpdQMBZOqd/cTgBlOIDZy4AiEAi4oNS4bwgKc8UtUeDCfwoPcmriNgTBpk+bWPTJoWg9w="}],"size":4144,"noattachment":false,"key":"/verb-tag-jscomments/-/verb-tag-jscomments-0.2.1.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":1408965934269,"_cnpm_publish_time":1408965934269,"dist-tags":{"latest":"0.2.2"}}