{"_id":"verb-toc","_rev":"77000","name":"verb-toc","description":"Verb plugin that adds middleware for creating and injecting a table of contents into a markdown document.","dist-tags":{"latest":"0.2.9"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"time":{"modified":"2021-06-03T10:24:47.000Z","created":"2016-02-12T05:39:12.408Z","0.2.9":"2017-01-02T05:04:25.695Z","0.2.8":"2016-07-13T19:30:17.685Z","0.2.7":"2016-07-13T02:29:46.190Z","0.2.6":"2016-07-09T02:44:16.226Z","0.2.5":"2016-07-03T08:04:31.239Z","0.2.4":"2016-06-28T18:00:55.149Z","0.2.3":"2016-05-28T15:49:34.604Z","0.2.2":"2016-05-07T12:45:48.062Z","0.2.1":"2016-04-14T00:29:59.972Z","0.2.0":"2016-03-06T05:11:06.181Z","0.1.1":"2016-03-02T19:51:31.297Z","0.1.0":"2016-02-12T05:39:12.408Z"},"users":{},"author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/verbose/verb-toc.git"},"versions":{"0.2.9":{"name":"verb-toc","description":"Verb plugin that adds middleware for creating and injecting a table of contents into a markdown document.","version":"0.2.9","homepage":"https://github.com/verbose/verb-toc","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/verbose/verb-toc.git"},"bugs":{"url":"https://github.com/verbose/verb-toc/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha","docs":"verb"},"dependencies":{"extend-shallow":"^2.0.1","isobject":"^3.0.0","markdown-toc":"^1.0.3"},"devDependencies":{"engine-base":"^0.1.2","gulp-format-md":"^0.1.11","mocha":"^3.2.0","templates":"^0.25.3"},"keywords":["contents","docs","documentation","markdown","middleware","plugin","readme","table","toc","verb","verb-middleware","verb-plugin","verbmiddleware","verbplugin"],"verb":{"run":true,"toc":true,"layout":"default","tasks":["readme"],"plugins":["gulp-format-md"],"related":{"list":["markdown-toc","verb"]},"lint":{"reflinks":true},"reflinks":["assemble","verb","verb-generate-readme"]},"gitHead":"16ff0e56de8f48b247bff28f7eecdd4a123c8188","_id":"verb-toc@0.2.9","_shasum":"4d7ec16099e77412928b447981ab5ac48c006d21","_from":".","_npmVersion":"3.10.9","_nodeVersion":"6.9.2","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"4d7ec16099e77412928b447981ab5ac48c006d21","size":4635,"noattachment":false,"key":"/verb-toc/-/verb-toc-0.2.9.tgz","tarball":"http://registry.cnpm.dingdandao.com/verb-toc/download/verb-toc-0.2.9.tgz"},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/verb-toc-0.2.9.tgz_1483333463646_0.6975038333330303"},"directories":{},"publish_time":1483333465695,"_cnpm_publish_time":1483333465695,"_hasShrinkwrap":false},"0.2.8":{"name":"verb-toc","description":"Verb plugin that adds middleware for creating and injecting a table of contents into a markdown document.","version":"0.2.8","homepage":"https://github.com/verbose/verb-toc","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/verbose/verb-toc.git"},"bugs":{"url":"https://github.com/verbose/verb-toc/issues"},"license":"MIT","files":["index.js","LICENSE","README.md"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha","docs":"verb"},"dependencies":{"extend-shallow":"^2.0.1","markdown-toc":"^0.12.14"},"devDependencies":{"engine-base":"^0.1.2","gulp-format-md":"^0.1.9","mocha":"^2.5.3","templates":"^0.20.1"},"keywords":["contents","docs","documentation","markdown","middleware","plugin","readme","table","toc","verb","verb-middleware","verb-plugin","verbmiddleware","verbplugin"],"verb":{"run":true,"toc":true,"layout":"default","tasks":["readme"],"plugins":["gulp-format-md"],"related":{"list":["markdown-toc","verb"]},"reflinks":["assemble","markdown-toc","verb","verb-generate-readme","verb-readme-generator"],"lint":{"reflinks":true}},"gitHead":"5942005533e195310f0c47c432c37d39582ed48c","_id":"verb-toc@0.2.8","_shasum":"0d2c087661dd2945ca459f7fc1a23da82e6422ce","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.3.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"0d2c087661dd2945ca459f7fc1a23da82e6422ce","size":4624,"noattachment":false,"key":"/verb-toc/-/verb-toc-0.2.8.tgz","tarball":"http://registry.cnpm.dingdandao.com/verb-toc/download/verb-toc-0.2.8.tgz"},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/verb-toc-0.2.8.tgz_1468438214850_0.6596214903984219"},"directories":{},"publish_time":1468438217685,"_cnpm_publish_time":1468438217685,"_hasShrinkwrap":false},"0.2.7":{"name":"verb-toc","description":"Verb plugin that adds middleware for creating and injecting a table of contents into a markdown document.","version":"0.2.7","homepage":"https://github.com/verbose/verb-toc","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/verbose/verb-toc.git"},"bugs":{"url":"https://github.com/verbose/verb-toc/issues"},"license":"MIT","files":["index.js","LICENSE","README.md"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha","docs":"verb"},"dependencies":{"extend-shallow":"^2.0.1","markdown-toc":"^0.12.14"},"devDependencies":{"engine-base":"^0.1.2","gulp-format-md":"^0.1.9","mocha":"^2.5.3","templates":"^0.20.1"},"keywords":["contents","docs","documentation","markdown","middleware","plugin","readme","table","toc","verb","verb-middleware","verb-plugin","verbmiddleware","verbplugin"],"verb":{"run":true,"toc":true,"layout":"default","tasks":["readme"],"plugins":["gulp-format-md"],"related":{"list":["markdown-toc","verb"]},"reflinks":["assemble","markdown-toc","verb","verb-generate-readme","verb-readme-generator"],"lint":{"reflinks":true}},"gitHead":"b0091fd44b96690c2d0235c2d934c6a3eb1e0f70","_id":"verb-toc@0.2.7","_shasum":"6584f0c904fda495945a0dc26baf9579f0f8e0e3","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.3.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"6584f0c904fda495945a0dc26baf9579f0f8e0e3","size":4619,"noattachment":false,"key":"/verb-toc/-/verb-toc-0.2.7.tgz","tarball":"http://registry.cnpm.dingdandao.com/verb-toc/download/verb-toc-0.2.7.tgz"},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/verb-toc-0.2.7.tgz_1468376983835_0.75600092462264"},"directories":{},"publish_time":1468376986190,"_cnpm_publish_time":1468376986190,"_hasShrinkwrap":false},"0.2.6":{"name":"verb-toc","description":"Verb plugin that adds middleware for creating and injecting a table of contents into a markdown document.","version":"0.2.6","homepage":"https://github.com/verbose/verb-toc","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/verbose/verb-toc.git"},"bugs":{"url":"https://github.com/verbose/verb-toc/issues"},"license":"MIT","files":["index.js","LICENSE","README.md"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha","docs":"verb"},"dependencies":{"extend-shallow":"^2.0.1","markdown-toc":"^0.12.14"},"devDependencies":{"engine-base":"^0.1.2","gulp-format-md":"^0.1.9","mocha":"^2.5.3","templates":"^0.20.1"},"keywords":["contents","docs","documentation","markdown","middleware","plugin","readme","table","toc","verb","verb-middleware","verb-plugin","verbmiddleware","verbplugin"],"verb":{"run":true,"toc":true,"layout":"default","tasks":["readme"],"plugins":["gulp-format-md"],"related":{"list":["markdown-toc","verb"]},"reflinks":["assemble","markdown-toc","verb","verb-readme-generator"],"lint":{"reflinks":true}},"gitHead":"f26c41466cf89f7e5b7879a19e9f284a8fbc8d61","_id":"verb-toc@0.2.6","_shasum":"77ae626195120e2b5b692c9377fe6f4b3f4a5248","_from":".","_npmVersion":"3.8.9","_nodeVersion":"6.2.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"77ae626195120e2b5b692c9377fe6f4b3f4a5248","size":2464,"noattachment":false,"key":"/verb-toc/-/verb-toc-0.2.6.tgz","tarball":"http://registry.cnpm.dingdandao.com/verb-toc/download/verb-toc-0.2.6.tgz"},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/verb-toc-0.2.6.tgz_1468032253745_0.6154885434079915"},"directories":{},"publish_time":1468032256226,"_cnpm_publish_time":1468032256226,"_hasShrinkwrap":false},"0.2.5":{"name":"verb-toc","description":"Verb plugin that adds middleware for creating and injecting a table of contents into a markdown document.","version":"0.2.5","homepage":"https://github.com/verbose/verb-toc","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/verbose/verb-toc.git"},"bugs":{"url":"https://github.com/verbose/verb-toc/issues"},"license":"MIT","files":["index.js","LICENSE","README.md"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha","docs":"verb"},"dependencies":{"extend-shallow":"^2.0.1","markdown-toc":"^0.12.14"},"devDependencies":{"engine-base":"^0.1.2","gulp-format-md":"^0.1.9","mocha":"^2.5.3","templates":"^0.20.1"},"keywords":["contents","docs","documentation","markdown","middleware","plugin","readme","table","toc","verb","verb-middleware","verb-plugin","verbmiddleware","verbplugin"],"verb":{"run":true,"toc":true,"layout":"default","tasks":["readme"],"plugins":["gulp-format-md"],"related":{"list":["markdown-toc","verb"]},"reflinks":["assemble","markdown-toc","verb","verb-readme-generator"],"lint":{"reflinks":true}},"gitHead":"8fb729979afe0662c2c36ef57cdf8781a1ffa5a7","_id":"verb-toc@0.2.5","_shasum":"870a1bbf4f2f5b8af0afbd9ddc65527f95917653","_from":".","_npmVersion":"3.8.9","_nodeVersion":"6.2.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"870a1bbf4f2f5b8af0afbd9ddc65527f95917653","size":2469,"noattachment":false,"key":"/verb-toc/-/verb-toc-0.2.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/verb-toc/download/verb-toc-0.2.5.tgz"},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/verb-toc-0.2.5.tgz_1467533068952_0.9302049307152629"},"directories":{},"publish_time":1467533071239,"_cnpm_publish_time":1467533071239,"_hasShrinkwrap":false},"0.2.4":{"name":"verb-toc","description":"Verb plugin that adds middleware for creating and injecting a table of contents into a markdown document.","version":"0.2.4","homepage":"https://github.com/verbose/verb-toc","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/verbose/verb-toc.git"},"bugs":{"url":"https://github.com/verbose/verb-toc/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha","docs":"verb"},"dependencies":{"extend-shallow":"^2.0.1","markdown-toc":"^0.12.12"},"devDependencies":{"engine-base":"^0.1.2","gulp-format-md":"^0.1.9","mocha":"^2.5.3","templates":"^0.20.1"},"keywords":["contents","docs","documentation","markdown","middleware","plugin","readme","table","toc","verb","verb-middleware","verb-plugin","verbmiddleware","verbplugin"],"verb":{"run":true,"toc":true,"layout":"default","tasks":["readme"],"plugins":["gulp-format-md"],"related":{"list":["markdown-toc","verb"]},"reflinks":["assemble","markdown-toc","verb","verb-readme-generator"],"lint":{"reflinks":true}},"gitHead":"de257674484d35cd32d820b22d6915ef2ef4b6f2","_id":"verb-toc@0.2.4","_shasum":"c64e0a904248e6d7a0c3c1fdb7b720cabe542dd8","_from":".","_npmVersion":"3.8.9","_nodeVersion":"6.2.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"c64e0a904248e6d7a0c3c1fdb7b720cabe542dd8","size":2443,"noattachment":false,"key":"/verb-toc/-/verb-toc-0.2.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/verb-toc/download/verb-toc-0.2.4.tgz"},"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/verb-toc-0.2.4.tgz_1467136853939_0.11250881082378328"},"directories":{},"publish_time":1467136855149,"_cnpm_publish_time":1467136855149,"_hasShrinkwrap":false},"0.2.3":{"name":"verb-toc","description":"Verb generator that adds middleware for creating and injecting a table of contents into a markdown document.","version":"0.2.3","homepage":"https://github.com/verbose/verb-toc","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/verbose/verb-toc.git"},"bugs":{"url":"https://github.com/verbose/verb-toc/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha","docs":"verb"},"dependencies":{"extend-shallow":"^2.0.1","markdown-toc":"^0.12.11"},"devDependencies":{"engine-base":"^0.1.2","gulp-format-md":"^0.1.9","mocha":"^2.5.3","templates":"^0.20.1"},"keywords":["contents","docs","markdown","middleware","plugin","readme","table","toc","verb","verb-middleware","verb-plugin","verbmiddleware","verbplugin"],"verb":{"run":true,"toc":true,"layout":"default","tasks":["readme"],"plugins":["gulp-format-md"],"related":{"list":["markdown-toc","verb"]},"reflinks":["assemble","markdown-toc","verb"],"lint":{"reflinks":true}},"gitHead":"9d979f2f37d817c8f96ce81ccea6cd951dca4a17","_id":"verb-toc@0.2.3","_shasum":"4e64ad608a86ad52d2ec5f8dae9b83adba47155a","_from":".","_npmVersion":"3.8.9","_nodeVersion":"6.2.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"4e64ad608a86ad52d2ec5f8dae9b83adba47155a","size":2416,"noattachment":false,"key":"/verb-toc/-/verb-toc-0.2.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/verb-toc/download/verb-toc-0.2.3.tgz"},"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/verb-toc-0.2.3.tgz_1464450572606_0.1818285663612187"},"directories":{},"publish_time":1464450574604,"_cnpm_publish_time":1464450574604,"_hasShrinkwrap":false},"0.2.2":{"name":"verb-toc","description":"Verb generator that adds middleware for creating and injecting a table of contents into a markdown document.","version":"0.2.2","homepage":"https://github.com/verbose/verb-toc","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/verbose/verb-toc.git"},"bugs":{"url":"https://github.com/verbose/verb-toc/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha","docs":"verb"},"dependencies":{"extend-shallow":"^2.0.1","markdown-toc":"^0.12.6"},"devDependencies":{"gulp-format-md":"^0.1.7","mocha":"^2.4.5","templates":"^0.16.1"},"keywords":["contents","docs","markdown","middleware","plugin","readme","table","toc","verb","verb-middleware","verb-plugin","verbmiddleware","verbplugin"],"verb":{"run":true,"toc":true,"layout":"default","tasks":["readme"],"plugins":["gulp-format-md"],"related":{"list":["markdown-toc","verb"]},"reflinks":["assemble","markdown-toc","verb"],"lint":{"reflinks":true}},"gitHead":"9d979f2f37d817c8f96ce81ccea6cd951dca4a17","_id":"verb-toc@0.2.2","_shasum":"8e89434180302d5248c897ce8a3a7af736bde0fb","_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":"8e89434180302d5248c897ce8a3a7af736bde0fb","size":4197,"noattachment":false,"key":"/verb-toc/-/verb-toc-0.2.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/verb-toc/download/verb-toc-0.2.2.tgz"},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/verb-toc-0.2.2.tgz_1462625145786_0.9269770891405642"},"directories":{},"publish_time":1462625148062,"_cnpm_publish_time":1462625148062,"_hasShrinkwrap":false},"0.2.1":{"name":"verb-toc","description":"Verb generator that adds middleware for creating and injecting a table of contents into a markdown document.","version":"0.2.1","homepage":"https://github.com/verbose/verb-toc","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/verbose/verb-toc.git"},"bugs":{"url":"https://github.com/verbose/verb-toc/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha","docs":"verb"},"dependencies":{"extend-shallow":"^2.0.1","markdown-toc":"^0.12.3"},"devDependencies":{"gulp-format-md":"^0.1.7","mocha":"^2.4.5","templates":"^0.16.1"},"keywords":["contents","docs","markdown","middleware","plugin","readme","table","toc","verb","verb-middleware","verb-plugin","verbmiddleware","verbplugin"],"verb":{"run":true,"toc":true,"layout":"default","tasks":["readme"],"plugins":["gulp-format-md"],"related":{"list":["markdown-toc","verb"]},"reflinks":["assemble","markdown-toc","verb"],"lint":{"reflinks":true}},"gitHead":"4aa2bef1c84241697ab4df39b2f0acf168718a0a","_id":"verb-toc@0.2.1","_shasum":"5a488a05fc0d5262039d2be64de3295a251af564","_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":"5a488a05fc0d5262039d2be64de3295a251af564","size":4074,"noattachment":false,"key":"/verb-toc/-/verb-toc-0.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/verb-toc/download/verb-toc-0.2.1.tgz"},"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/verb-toc-0.2.1.tgz_1460593798156_0.2681065369397402"},"directories":{},"publish_time":1460593799972,"_cnpm_publish_time":1460593799972,"_hasShrinkwrap":false},"0.2.0":{"name":"verb-toc","description":"Verb generator that adds middleware for creating and injecting a table of contents into a markdown document.","version":"0.2.0","homepage":"https://github.com/verbose/verb-toc","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/verbose/verb-toc.git"},"bugs":{"url":"https://github.com/verbose/verb-toc/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha","docs":"verb"},"dependencies":{"extend-shallow":"^2.0.1","markdown-toc":"^0.12.3"},"devDependencies":{"gulp-format-md":"*","mocha":"*"},"keywords":["contents","docs","markdown","middleware","plugin","readme","table","toc","verb","verb-middleware","verb-plugin","verbmiddleware","verbplugin"],"verb":{"run":true,"toc":true,"layout":"default","tasks":["readme"],"plugins":["gulp-format-md"],"related":{"list":["markdown-toc","verb"]},"reflinks":["markdown-toc","verb","assemble"],"lint":{"reflinks":true}},"gitHead":"1ca13b379c57e9882817023242d568ffd1a46fcb","_id":"verb-toc@0.2.0","_shasum":"91de294b68278696a6879547eea110a1adcd9f01","_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":"91de294b68278696a6879547eea110a1adcd9f01","size":3967,"noattachment":false,"key":"/verb-toc/-/verb-toc-0.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/verb-toc/download/verb-toc-0.2.0.tgz"},"_npmOperationalInternal":{"host":"packages-13-west.internal.npmjs.com","tmp":"tmp/verb-toc-0.2.0.tgz_1457241062766_0.8155031409114599"},"directories":{},"publish_time":1457241066181,"_cnpm_publish_time":1457241066181,"_hasShrinkwrap":false},"0.1.1":{"name":"verb-toc","description":"Verb generator that adds middleware for creating and injecting a table of contents into a markdown document.","version":"0.1.1","homepage":"https://github.com/verbose/verb-toc","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/verbose/verb-toc.git"},"bugs":{"url":"https://github.com/verbose/verb-toc/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha","docs":"verb"},"dependencies":{"extend-shallow":"^2.0.1","markdown-toc":"^0.12.3"},"devDependencies":{"gulp-format-md":"*","mocha":"*"},"keywords":["contents","docs","markdown","middleware","plugin","readme","table","toc","verb","verb-middleware","verb-plugin","verbmiddleware","verbplugin"],"verb":{"run":true,"toc":true,"layout":"default","tasks":["readme"],"plugins":["gulp-format-md"],"related":{"list":["markdown-toc","verb"]},"reflinks":["markdown-toc","verb","assemble"],"lint":{"reflinks":true}},"gitHead":"c5d11e2d557e5c6c1ecc8d729e4f1346ddf1dc46","_id":"verb-toc@0.1.1","_shasum":"f62af1cb35ead80e14d0e6dc01c8160860ae85d3","_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":"f62af1cb35ead80e14d0e6dc01c8160860ae85d3","size":3664,"noattachment":false,"key":"/verb-toc/-/verb-toc-0.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/verb-toc/download/verb-toc-0.1.1.tgz"},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/verb-toc-0.1.1.tgz_1456948288375_0.5567306475713849"},"directories":{},"publish_time":1456948291297,"_cnpm_publish_time":1456948291297,"_hasShrinkwrap":false},"0.1.0":{"name":"verb-toc","description":"Verb generator that adds middleware for creating and injecting a table of contents into a markdown document.","version":"0.1.0","homepage":"https://github.com/jonschlinkert/verb-toc","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/verb-toc.git"},"bugs":{"url":"https://github.com/jonschlinkert/verb-toc/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha","docs":"verb"},"dependencies":{"extend-shallow":"^2.0.1","markdown-toc":"^0.12.3"},"devDependencies":{"gulp-format-md":"*","mocha":"*"},"keywords":["contents","docs","markdown","middleware","plugin","readme","table","toc","verb","verb-middleware","verb-plugin","verbmiddleware","verbplugin"],"verb":{"related":{"list":["markdown-toc","verb"]},"layout":"global","tasks":["readme"],"plugins":["gulp-format-md"],"reflinks":["markdown-toc","verb"]},"gitHead":"fbb8ffed26c815283f592b218d70eebc56c601e1","_id":"verb-toc@0.1.0","_shasum":"e1f8554457b84931bd958a3b857ff21253b98ddc","_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":"e1f8554457b84931bd958a3b857ff21253b98ddc","size":3102,"noattachment":false,"key":"/verb-toc/-/verb-toc-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/verb-toc/download/verb-toc-0.1.0.tgz"},"_npmOperationalInternal":{"host":"packages-6-west.internal.npmjs.com","tmp":"tmp/verb-toc-0.1.0.tgz_1455255548695_0.28544611018151045"},"directories":{},"publish_time":1455255552408,"_cnpm_publish_time":1455255552408,"_hasShrinkwrap":false}},"readme":"# verb-toc [![NPM version](https://img.shields.io/npm/v/verb-toc.svg?style=flat)](https://www.npmjs.com/package/verb-toc) [![NPM monthly downloads](https://img.shields.io/npm/dm/verb-toc.svg?style=flat)](https://npmjs.org/package/verb-toc)  [![NPM total downloads](https://img.shields.io/npm/dt/verb-toc.svg?style=flat)](https://npmjs.org/package/verb-toc) [![Linux Build Status](https://img.shields.io/travis/verbose/verb-toc.svg?style=flat&label=Travis)](https://travis-ci.org/verbose/verb-toc)\n\n> Verb plugin that adds middleware for creating and injecting a table of contents into a markdown document.\n\n## Table of Contents\n\n- [Docs](#docs)\n- [toc event](#toc-event)\n- [verb config](#verb-config)\n- [verb CLI](#verb-cli)\n  * [toc](#toc)\n  * [Save to project's verb config](#save-to-projects-verb-config)\n  * [Save to global verb config](#save-to-global-verb-config)\n- [About](#about)\n\n_(TOC generated by [verb](https://github.com/verbose/verb) using [markdown-toc](https://github.com/jonschlinkert/markdown-toc))_\n\n## Install\n\nInstall with [npm](https://www.npmjs.com/):\n\n```sh\n$ npm install --save verb-toc\n```\n\n**HEADS UP!!!**\n\nThis only works with Verb v0.9.0 and higher! (also works with [assemble](https://github.com/assemble/assemble)).\n\n## Usage\n\n```js\nvar toc = require('verb-toc');\n```\n\n**Basic example**\n\nIn your `verbfile.js`:\n\n```js\nmodule.exports = function(verb) {\n  verb.extendWith(require('verb-toc'));\n  // do stuff, render templates, write files\n};\n```\n\nAdd a `<!-- toc -->` HTML comment to any markdown document where you want a table of contents to be injected. For the TOC middleware to run, you'll need to either call the `postLayout` and `preWrite` middleware handlers yourself, or follow the example below.\n\n***\n\n## Docs\n\n**Middleware**\n\nThe main export is a function that when invoked with an instance of `verb` will automatically register two middleware functions:\n\n* a `.postLayout` (`createToc`) middleware that creates the table of contents after a layout has been applied\n* a `.preWrite` (`injectToc`) middleware that injects the table of contents back into the document after all other plugins have run.\n\nBoth middleware functions are also exposed as properties on `module.exports`, so you can try other stages if you want. Be warned that there are pros and cons to most middleware stages, in my own experience these stages work really well and seem to result in the fewest unwanted side-effects.\n\n## toc event\n\nIf you want to completely customize how the TOC is injected, you can listen for the `toc` event.\n\n**Params**\n\n* `file` Exposes the vinyl `file` being rendered\n\n**Example**\n\n```js\nverb.on('toc', function(file, next) {\n  // do stuff to `file.contents`, then call next\n  next();\n});\n```\n\n**Register the middleware**\n\nIn your `verbfile.js`:\n\n```js\nmodule.exports = function(verb) {\n  verb.extendWith(require('verb-toc'));\n  \n  // use any template engine, but you must call `.renderFile` \n  // (below) to trigger the necessary middleware stages\n  verb.engine('*', require('engine-base'));\n\n  // example task\n  verb.task('docs', function(cb) {\n    return verb.src('docs/*.md', { cwd: __dirname })\n      .pipe(app.renderFile('*'))\n      .pipe(verb.dest('dist'));\n  });\n\n  verb.task('default', ['docs']);\n};\n```\n\n_(In v0.9.0 and higher, verbfiles that export a function are recognized by verb as \"generators\", allowing them to be locally or globally installed, and composed with other generators. You can alternatively export an instance of verb, but it's not as fun...)_\n\n## verb config\n\nEnable or disable Table of Contents rendering, or pass options on the `verb` config object in `package.json`.\n\n**Example**\n\n```json\n{\n  \"name\": \"my-project\",\n  \"verb\": {\n    \"toc\": true\n  }\n}\n```\n\n## verb CLI\n\n### toc\n\nDisable or enable TOC rendering from the command line.\n\n**Enable**\n\nEnable the table of contents for the current build:\n\n```sh\n$ verb --toc\n```\n\n**Disable**\n\nDisable the table of contents for the current build:\n\n```sh\n$ verb --toc=false\n```\n\n### Save to project's verb config\n\nPersist TOC settings for a project to the `verb` config object in `package.json`:\n\n**Enable**\n\nEnable the table of contents for a project:\n\n```sh\n$ verb --config=toc\n```\n\n**Disable**\n\nDisable the table of contents for a project:\n\n```sh\n$ verb --config=toc:false\n```\n\n### Save to global verb config\n\nPersist TOC settings to be used as global:\n\n**Enable**\n\nEnable the table of contents for a project:\n\n```sh\n$ verb --global=toc\n# or\n$ verb -g=toc\n```\n\n**Disable**\n\nDisable the table of contents for a project:\n\n```sh\n$ verb --global=toc:false\n# or\n$ verb -g=toc:false\n```\n\n## About\n\n### Related projects\n\n* [markdown-toc](https://www.npmjs.com/package/markdown-toc): Generate a markdown TOC (table of contents) with Remarkable. | [homepage](https://github.com/jonschlinkert/markdown-toc \"Generate a markdown TOC (table of contents) with Remarkable.\")\n* [verb](https://www.npmjs.com/package/verb): Documentation generator for GitHub projects. Verb is extremely powerful, easy to use, and is used… [more](https://github.com/verbose/verb) | [homepage](https://github.com/verbose/verb \"Documentation generator for GitHub projects. Verb is extremely powerful, easy to use, and is used on hundreds of projects of all sizes to generate everything from API docs to readmes.\")\n\n### Contributing\n\nPull requests and stars are always welcome. For bugs and feature requests, [please create an issue](../../issues/new).\n\n### Building docs\n\n_(This document was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme) (a [verb](https://github.com/verbose/verb) generator), please don't edit the readme directly. Any changes to the readme must be made in [.verb.md](.verb.md).)_\n\nTo generate the readme and API documentation with [verb](https://github.com/verbose/verb):\n\n```sh\n$ npm install -g verb verb-generate-readme && verb\n```\n\n### Running tests\n\nInstall dev dependencies:\n\n```sh\n$ npm install -d && npm test\n```\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 © 2017, [Jon Schlinkert](https://github.com/jonschlinkert).\nReleased under the [MIT license](LICENSE).\n\n***\n\n_This file was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme), v0.2.1, on January 02, 2017._","_attachments":{},"homepage":"https://github.com/verbose/verb-toc","bugs":{"url":"https://github.com/verbose/verb-toc/issues"},"license":"MIT"}