{"_id":"api-toc","_rev":"106634","name":"api-toc","description":"Pass a dirname, get a markdown-formatted Table of Contents for your API.","dist-tags":{"latest":"0.3.2"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"time":{"modified":"2021-06-03T10:38:41.000Z","created":"2015-03-11T00:42:10.929Z","0.3.2":"2015-08-01T05:17:13.593Z","0.3.1":"2015-04-19T19:34:26.979Z","0.3.0":"2015-04-19T19:32:39.656Z","0.2.0":"2015-03-11T23:11:01.633Z","0.1.2":"2015-03-11T02:05:11.346Z","0.1.1":"2015-03-11T00:45:23.821Z","0.1.0":"2015-03-11T00:42:10.929Z"},"users":{},"author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/api-toc.git"},"versions":{"0.3.2":{"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","size":3287,"noattachment":false,"key":"/api-toc/-/api-toc-0.3.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/api-toc/download/api-toc-0.3.2.tgz"},"directories":{},"publish_time":1438406233593,"_cnpm_publish_time":1438406233593,"_hasShrinkwrap":false},"0.3.1":{"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","size":3350,"noattachment":false,"key":"/api-toc/-/api-toc-0.3.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/api-toc/download/api-toc-0.3.1.tgz"},"directories":{},"publish_time":1429472066979,"_cnpm_publish_time":1429472066979,"_hasShrinkwrap":false},"0.3.0":{"name":"api-toc","description":"Pass a dirname, get a markdown-formatted Table of Contents for your API.","version":"0.3.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":{"array-pull":"^0.2.0","code-context":"^0.5.0","export-files":"^1.3.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","object.omit":"^1.1.0","should":"*"},"gitHead":"18e81bd1dc0a0ce0743019444bd9d279e16d3111","_id":"api-toc@0.3.0","_shasum":"028eb20f2420ad87f1180a42c368a6a8fc3790aa","_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":"028eb20f2420ad87f1180a42c368a6a8fc3790aa","size":3399,"noattachment":false,"key":"/api-toc/-/api-toc-0.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/api-toc/download/api-toc-0.3.0.tgz"},"directories":{},"publish_time":1429471959656,"_cnpm_publish_time":1429471959656,"_hasShrinkwrap":false},"0.2.0":{"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","size":3183,"noattachment":false,"key":"/api-toc/-/api-toc-0.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/api-toc/download/api-toc-0.2.0.tgz"},"directories":{},"publish_time":1426115461633,"_cnpm_publish_time":1426115461633,"_hasShrinkwrap":false},"0.1.2":{"name":"api-toc","description":"Pass a dirname, get a markdown-formatted Table of Contents for your API.","version":"0.1.2","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":"0884641303de8465377348694032464d1dccca8f","_id":"api-toc@0.1.2","_shasum":"7451f38b82b331b0c758d8046ce2142073231ecf","_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":"7451f38b82b331b0c758d8046ce2142073231ecf","size":3378,"noattachment":false,"key":"/api-toc/-/api-toc-0.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/api-toc/download/api-toc-0.1.2.tgz"},"directories":{},"publish_time":1426039511346,"_cnpm_publish_time":1426039511346,"_hasShrinkwrap":false},"0.1.1":{"name":"api-toc","description":"Pass a dirname, get a markdown-formatted Table of Contents for your API.","version":"0.1.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","export-files":"^1.3.0","markdown-utils":"^0.4.0","relative":"^2.0.0"},"devDependencies":{"mocha":"^2.2.1","should":"*"},"gitHead":"a43413a325d35670f7eb013f85c489ece7eaa829","_id":"api-toc@0.1.1","_shasum":"1cce45cd8036d9ee2df4ccd3e5da1db544c80966","_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":"1cce45cd8036d9ee2df4ccd3e5da1db544c80966","size":3318,"noattachment":false,"key":"/api-toc/-/api-toc-0.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/api-toc/download/api-toc-0.1.1.tgz"},"directories":{},"publish_time":1426034723821,"_cnpm_publish_time":1426034723821,"_hasShrinkwrap":false},"0.1.0":{"name":"api-toc","description":"Create a markdown-formatted Table of Contents for your API.","version":"0.1.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":"*"},"_id":"api-toc@0.1.0","_shasum":"4910ff6bd374d12b33457c5234d1160f4c211a31","_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":"4910ff6bd374d12b33457c5234d1160f4c211a31","size":3304,"noattachment":false,"key":"/api-toc/-/api-toc-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/api-toc/download/api-toc-0.1.0.tgz"},"directories":{},"publish_time":1426034530929,"_cnpm_publish_time":1426034530929,"_hasShrinkwrap":false}},"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._","_attachments":{},"homepage":"https://github.com/jonschlinkert/api-toc","bugs":{"url":"https://github.com/jonschlinkert/api-toc/issues"},"license":"MIT"}