{"name":"helper-apidocs","description":"Template helper for automatically generating API docs from code comments. Should work with any template engine.","version":"0.5.0","homepage":"https://github.com/jonschlinkert/helper-apidocs","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/helper-apidocs.git"},"bugs":{"url":"https://github.com/jonschlinkert/helper-apidocs/issues"},"license":"MIT","files":["index.js","utils.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"is-glob":"^2.0.1","js-comments":"^0.5.4","lazy-cache":"^1.0.2","matched":"^0.3.2","mixin-deep":"^1.1.3","relative":"^3.0.2","template-bind-helpers":"^0.2.0"},"devDependencies":{"engine-base":"^0.1.2","handlebars":"^3.0.0","lodash":"^3.3.0","should":"*","templates":"^0.6.3"},"keywords":["api","api-docs","apidocs","code","comment","comments","docs","documentation","generate","helper","helpers"],"verb":{"layout":"full","related":{"list":[]},"plugins":["gulp-format-md"]},"gitHead":"f90e392a1c55f8fc4f062fde7e85801aadc2b043","_id":"helper-apidocs@0.5.0","_shasum":"1c18c4a9c5c7deda35706f717db89e29cc62fe68","_from":".","_npmVersion":"3.3.6","_nodeVersion":"5.0.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"1c18c4a9c5c7deda35706f717db89e29cc62fe68","tarball":"http://registry-npm.ywwl.com/helper-apidocs/download/helper-apidocs-0.5.0.tgz","integrity":"sha512-TRu4KnXH2rf4I3jmmNYL51bBI4TfdqdjoFeO6MitKo5GrFAcxYSrpWIagDaUlPDVfjDu6pEGJMh1gcfUc0Xdsg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIC8+2Gmyoj3hDUI7L/bZKkPbl1gW1BrMqP6HoAXA3QHVAiA8/sKHjCfik3iTb4Jnlo/yChneOSYNe9/IhI3LZqWvLA=="}],"size":4067,"noattachment":false,"key":"/helper-apidocs/-/helper-apidocs-0.5.0.tgz"},"directories":{},"readme":"# helper-apidocs [![NPM version](https://img.shields.io/npm/v/helper-apidocs.svg)](https://www.npmjs.com/package/helper-apidocs) [![Build Status](https://img.shields.io/travis/jonschlinkert/helper-apidocs.svg)](https://travis-ci.org/jonschlinkert/helper-apidocs)\n\n> Template helper for automatically generating API docs from code comments. Should work with any template engine.\n\n## Install\n\nInstall with [npm](https://www.npmjs.com/)\n\n```sh\n$ npm i helper-apidocs --save\n```\n\n## Example usage\n\nWith Lo-Dash or Underscore:\n\n```js\n<%= apidocs(\"index.js\") %>\n```\n\nWith Handlebars:\n\n```handlebars\n{{apidocs \"index.js\"}}\n```\n\nWith Verb (lo-dash, with special delimiters to avoid delimiter collision in markdown docs):\n\n```js\n{%= apidocs('index.js') %};\n```\n\n## Register the helper\n\n> This should work with any engine, here are a few examples\n\n### [template](https://github.com/jonschlinkert/template)\n\nRegister the helper for use with any template engine\n\n```js\ntemplate.helper('apidocs', require('helper-apidocs'));\n```\n\n### [assemble](https://github.com/assemble/assemble)\n\nTo register the helper for use with [assemble](https://github.com/assemble/assemble)v0.6.x:\n\n```js\nassemble.helper('apidocs', require('helper-apidocs'));\n```\n\n### [verb](https://github.com/assemble/verb)\n\nRegister the helper for use with [verb](https://github.com/assemble/verb):\n\n```js\nvar verb = require('verb');\nverb.helper('apidocs', require('helper-apidocs'));\n\nverb.task('default', function() {\n  verb.src('.verb*.md')\n    .pipe(verb.dest('./'));\n});\n```\n\n### [handlebars](https://github.com/wycats/handlebars.js/)\n\n```js\nvar handlebars = require('handlebars');\nhandlebars.registerHelper('apidocs', require('helper-apidocs'));\n```\n\n### [Lo-Dash](https://lodash.com/) or [underscore](https://github.com/jashkenas/underscore)\n\n```js\n// as a mixin\n_.mixin({apidocs: apidocsHelper});\n_.template('<%= _.apidocs(\"fixtures/*.js\") %>', {});\n\n// passed on the context\n_.template('<%= apidocs(\"fixtures/*.js\") %>', {apidocs: apidocsHelper});\n\n// as an import\nvar settings = {imports: {apidocs: apidocsHelper}};\n_.template('<%= apidocs(\"fixtures/*.js\") %>', {}, settings);\n```\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/helper-apidocs/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](https://github.com/jonschlinkert)\nReleased under the MIT license.\n\n***\n\n_This file was generated by [verb](https://github.com/verbose/verb) on December 14, 2015._","publish_time":1450074875101,"_cnpm_publish_time":1450074875101,"dist-tags":{"latest":"0.5.1"}}