{"_id":"verb-tag-jscomments","_rev":"81697","name":"verb-tag-jscomments","description":"Tag for Verb. Uses js-comments to parse JavaScript code comments and generate API documentation.","dist-tags":{"latest":"0.2.2"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"time":{"modified":"2021-06-03T10:26:04.000Z","created":"2014-06-01T10:39:55.447Z","0.2.2":"2014-08-25T21:23:11.526Z","0.2.1":"2014-08-25T11:25:34.269Z","0.2.0":"2014-08-09T17:23:27.828Z","0.1.4":"2014-06-19T08:34:19.409Z","0.1.3":"2014-06-19T08:25:09.322Z","0.1.2":"2014-06-01T11:45:03.195Z","0.1.0":"2014-06-01T10:39:55.447Z"},"users":{},"author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/verb-tag-jscomments.git"},"versions":{"0.2.2":{"name":"verb-tag-jscomments","description":"Tag for Verb. Uses js-comments to parse JavaScript code comments and generate API documentation.","version":"0.2.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.3.0","lodash":"^2.4.1"},"_id":"verb-tag-jscomments@0.2.2","_shasum":"8db85f3e08c0396f3fc41db05c18598f5694dcf7","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"8db85f3e08c0396f3fc41db05c18598f5694dcf7","size":4133,"noattachment":false,"key":"/verb-tag-jscomments/-/verb-tag-jscomments-0.2.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/verb-tag-jscomments/download/verb-tag-jscomments-0.2.2.tgz"},"directories":{},"publish_time":1409001791526,"_cnpm_publish_time":1409001791526,"_hasShrinkwrap":false},"0.2.1":{"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","size":4144,"noattachment":false,"key":"/verb-tag-jscomments/-/verb-tag-jscomments-0.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/verb-tag-jscomments/download/verb-tag-jscomments-0.2.1.tgz"},"directories":{},"publish_time":1408965934269,"_cnpm_publish_time":1408965934269,"_hasShrinkwrap":false},"0.2.0":{"name":"verb-tag-jscomments","description":"Tag for Verb. Uses js-comments to parse JavaScript code comments and generate API documentation.","version":"0.2.0","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.2.1","lodash":"^2.4.1"},"_id":"verb-tag-jscomments@0.2.0","_shasum":"ac7927ecffa553beaf3c8bb31bb2a84c7d2f82f9","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"ac7927ecffa553beaf3c8bb31bb2a84c7d2f82f9","size":4144,"noattachment":false,"key":"/verb-tag-jscomments/-/verb-tag-jscomments-0.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/verb-tag-jscomments/download/verb-tag-jscomments-0.2.0.tgz"},"directories":{},"publish_time":1407605007828,"_cnpm_publish_time":1407605007828,"_hasShrinkwrap":false},"0.1.4":{"name":"verb-tag-jscomments","description":"Tag for Verb. Uses js-comments to parse JavaScript code comments and generate API documentation.","version":"0.1.4","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.4","_shasum":"a76c266053beee8efbc7154bdfe91e260d378074","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"a76c266053beee8efbc7154bdfe91e260d378074","size":4138,"noattachment":false,"key":"/verb-tag-jscomments/-/verb-tag-jscomments-0.1.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/verb-tag-jscomments/download/verb-tag-jscomments-0.1.4.tgz"},"directories":{},"publish_time":1403166859409,"_cnpm_publish_time":1403166859409,"_hasShrinkwrap":false},"0.1.3":{"name":"verb-tag-jscomments","description":"Tag for Verb. Uses js-comments to parse JavaScript code comments and generate API documentation.","version":"0.1.3","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.3","_shasum":"92f8476b3a0b26a4c1466571ede220b0181ecb7b","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"92f8476b3a0b26a4c1466571ede220b0181ecb7b","size":4030,"noattachment":false,"key":"/verb-tag-jscomments/-/verb-tag-jscomments-0.1.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/verb-tag-jscomments/download/verb-tag-jscomments-0.1.3.tgz"},"directories":{},"publish_time":1403166309322,"_cnpm_publish_time":1403166309322,"_hasShrinkwrap":false},"0.1.2":{"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","size":4017,"noattachment":false,"key":"/verb-tag-jscomments/-/verb-tag-jscomments-0.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/verb-tag-jscomments/download/verb-tag-jscomments-0.1.2.tgz"},"directories":{},"publish_time":1401623103195,"_cnpm_publish_time":1401623103195,"_hasShrinkwrap":false},"0.1.0":{"name":"verb-tag-jscomments","description":"Tag for Verb. Uses js-comments to parse JavaScript code comments and generate API documentation.","version":"0.1.0","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"],"_id":"verb-tag-jscomments@0.1.0","_shasum":"c52cf8ef3614dd3ad846fb0991f0828bb023ad27","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"c52cf8ef3614dd3ad846fb0991f0828bb023ad27","size":2708,"noattachment":false,"key":"/verb-tag-jscomments/-/verb-tag-jscomments-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/verb-tag-jscomments/download/verb-tag-jscomments-0.1.0.tgz"},"directories":{},"publish_time":1401619195447,"_cnpm_publish_time":1401619195447,"_hasShrinkwrap":false}},"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","_attachments":{},"homepage":"https://github.com/jonschlinkert/verb-tag-jscomments","bugs":{"url":"https://github.com/jonschlinkert/verb-tag-jscomments/issues"}}