{"name":"helper-apidocs","description":"Template helper for automatically generating API docs from code comments. Should work with any template engine.","version":"0.5.1","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.3","matched":"^0.4.1","mixin-deep":"^1.1.3","relative":"^3.0.2","template-bind-helpers":"^0.2.0"},"devDependencies":{"engine-base":"^0.1.2","gulp-format-md":"^0.1.5","handlebars":"^4.0.5","helper-resolve":"^0.3.1","lodash":"^4.3.0","should":"*","templates":"^0.12.0"},"keywords":["api","api-docs","apidocs","code","comment","comments","docs","documentation","generate","helper","helpers"],"verb":{"related":{"list":[]},"layout":"default","plugins":["gulp-format-md"],"reflinks":["assemble","generate","handlebars","lodash","templates","verb"]},"gitHead":"9a763615562cb8ef50d7c411f303c7b2b01097e7","_id":"helper-apidocs@0.5.1","_shasum":"8edd3c801ce61a20dc0ba36f113cb8fd2853a2e8","_from":".","_npmVersion":"3.6.0","_nodeVersion":"5.5.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"8edd3c801ce61a20dc0ba36f113cb8fd2853a2e8","tarball":"http://registry-npm.ywwl.com/helper-apidocs/download/helper-apidocs-0.5.1.tgz","integrity":"sha512-M7GGKSkwfcwj1AgTd1umK+uZ9z2F0HfmUS1D5mrxYWJIIWC0ya8oFR4g+BmSk3BWSBgLYZ7ZRYquC8kgPWzXrg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIB4rOVqjOQEmOEBvYX73/1HHoDAsrAa7Zg90Nd1CCB1EAiAMt5kT/HDolIJ7Zd66U5dqm6i5bFBfIXS8fePYw2IHEg=="}],"size":4136,"noattachment":false,"key":"/helper-apidocs/-/helper-apidocs-0.5.1.tgz"},"_npmOperationalInternal":{"host":"packages-5-east.internal.npmjs.com","tmp":"tmp/helper-apidocs-0.5.1.tgz_1455383998948_0.5785563653334975"},"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":1455384000913,"_cnpm_publish_time":1455384000913,"dist-tags":{"latest":"0.5.1"}}