{"name":"api-toc","description":"Pass a dirname, get a markdown-formatted Table of Contents for your API.","version":"0.2.0","homepage":"https://github.com/jonschlinkert/api-toc","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/api-toc.git"},"bugs":{"url":"https://github.com/jonschlinkert/api-toc/issues"},"license":{"type":"MIT","url":"https://github.com/jonschlinkert/api-toc/blob/master/LICENSE"},"files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"code-context":"^0.5.0","export-files":"^1.3.0","markdown-utils":"^0.4.0","relative":"^2.0.0"},"devDependencies":{"mocha":"^2.2.1","should":"*"},"gitHead":"0553bdc33294b2590a7ca6ee2b81173da9f48138","_id":"api-toc@0.2.0","_shasum":"d627ea52bf7ea7f4340723983b48bb3950be8c00","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"d627ea52bf7ea7f4340723983b48bb3950be8c00","tarball":"http://registry-npm.ywwl.com/api-toc/download/api-toc-0.2.0.tgz","integrity":"sha512-wQAQVafUvqYtJfZ0vn2vOqzHYGdBYRlIiumMHlW6oWuoMGmkH0uvlQpUb4D590I4stQf0B3NMpg74cpDWwqrzA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFP8wYgeAqixNEDFcoFFhcRdP35Mul4EOxQH/RvQ0HsgAiEA+vWu9m7A9HQkC/ZMckWxr12KaSf2SBM0yOmDt5OvM6w="}],"size":3183,"noattachment":false,"key":"/api-toc/-/api-toc-0.2.0.tgz"},"directories":{},"readme":"# api-toc [![NPM version](https://badge.fury.io/js/api-toc.svg)](http://badge.fury.io/js/api-toc)  [![Build Status](https://travis-ci.org/jonschlinkert/api-toc.svg)](https://travis-ci.org/jonschlinkert/api-toc)\n\n> Pass a dirname, get a markdown-formatted Table of Contents for your API.\n\nCurrently this is pretty opinionated, but I may add a reduce or filter function to allow customizing the output. PR or suggestions welcome.\n\nInstall with [npm](https://www.npmjs.com/)\n\n```sh\n$ npm i api-toc --save\n```\n\n## Usage\n\n```js\nvar toc = require('api-toc');\n```\n\n**Example**\n\nUsing the pseudo-code in `fixtures/`:\n\n```js\ntoc('fixtures/');\n```\n\nResults in:\n\n* **[config](fixtures/config.js)**\n\n  - [.disable](fixtures/config.js#L10)\n  - [.enable](fixtures/config.js#L6)\n  - [.option](fixtures/config.js#L2)\n* **[storage](fixtures/storage.js)**\n\n  - [.extend](fixtures/storage.js#L10)\n  - [.get](fixtures/storage.js#L2)\n  - [.set](fixtures/storage.js#L6)\n* **[utils](fixtures/utils.js)**\n\n  - [.bar](fixtures/utils.js#L6)\n  - [.baz](fixtures/utils.js#L10)\n  - [.foo](fixtures/utils.js#L2)\n\nThe generated markdown looks like this:\n\n```markdown\n+ **[config](fixtures/config.js)**\n  - [.disable](fixtures/config.js#L10)\n  - [.enable](fixtures/config.js#L6)\n  - [.option](fixtures/config.js#L2)\n+ **[storage](fixtures/storage.js)**\n  - [.extend](fixtures/storage.js#L10)\n  - [.get](fixtures/storage.js#L2)\n  - [.set](fixtures/storage.js#L6)\n+ **[utils](fixtures/utils.js)**\n  - [.bar](fixtures/utils.js#L6)\n  - [.baz](fixtures/utils.js#L10)\n  - [.foo](fixtures/utils.js#L2)\n```\n\n## Related projects\n\n* [helper-apidocs](https://github.com/jonschlinkert/helper-apidocs): Template helper for automatically generating API docs from code comments. The sync version works with… [more](https://github.com/jonschlinkert/helper-apidocs)\n* [markdown-toc](https://github.com/jonschlinkert/markdown-toc): Generate a markdown TOC (table of contents) with Remarkable.\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/api-toc/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\nReleased under the MIT license.\n\n***\n\n_This file was generated by [verb-cli](https://github.com/assemble/verb-cli) on August 01, 2015._","publish_time":1426115461633,"_cnpm_publish_time":1426115461633,"dist-tags":{"latest":"0.3.2"}}