{"name":"api-toc","description":"Pass a dirname, get a markdown-formatted Table of Contents for your API.","version":"0.3.2","homepage":"https://github.com/jonschlinkert/api-toc","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/api-toc.git"},"bugs":{"url":"https://github.com/jonschlinkert/api-toc/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"code-context":"^0.5.2","filter-object":"^2.0.0","markdown-utils":"^0.7.0","mixin-deep":"^1.1.1","relative":"^3.0.1"},"devDependencies":{"mocha":"^2.2.1","should":"*"},"gitHead":"304e06d76141e0a72b54724ca29b2ec494d5008b","_id":"api-toc@0.3.2","_shasum":"5e73e7aa4b8dac74a79d9e616be914a91de047fa","_from":".","_npmVersion":"2.10.1","_nodeVersion":"0.12.4","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"5e73e7aa4b8dac74a79d9e616be914a91de047fa","tarball":"http://registry-npm.ywwl.com/api-toc/download/api-toc-0.3.2.tgz","integrity":"sha512-U7ayuzLh5G2/1iOGv95ie0TkSC1HqXz76kEhgku7zRWvjWRzgJHK3Tvl6f6paLqGN5pIu1ZslhT5JShJl4/2CA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDQIfs5++GAU+MyRH8wwdYpzc9kaMTU2kbtST9jgsfHRAiBKA1JJbnL0or6ucXQxdmp5rWgZ+XaE9xa0xdJj31rOdg=="}],"size":3287,"noattachment":false,"key":"/api-toc/-/api-toc-0.3.2.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":1438406233593,"_cnpm_publish_time":1438406233593,"dist-tags":{"latest":"0.3.2"}}