{"name":"api-toc","description":"Pass a dirname, get a markdown-formatted Table of Contents for your API.","version":"0.3.1","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","filter-object":"^1.1.2","markdown-utils":"^0.4.0","mixin-deep":"^1.0.1","relative":"^2.0.0"},"devDependencies":{"mocha":"^2.2.1","should":"*"},"gitHead":"304e06d76141e0a72b54724ca29b2ec494d5008b","_id":"api-toc@0.3.1","_shasum":"dac4ba2edda69da0b533dd4f56ef2c2f88d5f27c","_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":"dac4ba2edda69da0b533dd4f56ef2c2f88d5f27c","tarball":"http://registry-npm.ywwl.com/api-toc/download/api-toc-0.3.1.tgz","integrity":"sha512-L4eUuCmk9wQn/fJVlR5yFJwSKfDHYKKXrgaosile69pA3fEHnMQwWmB72zED6DkFd3pCDIJ26FLN9LdfvrjCTQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCujvxU9tTEtSBizW6eV+eionOYOo56bg1ObPhReGp3dQIhAJImEChAexTwK3boyr6LnlFGyFcVUj2WOUUvj99b4cR5"}],"size":3350,"noattachment":false,"key":"/api-toc/-/api-toc-0.3.1.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":1429472066979,"_cnpm_publish_time":1429472066979,"dist-tags":{"latest":"0.3.2"}}