{"_id":"marked-toc","_rev":"56-3edbb1b99b02a32d6814db2cc1c17354","name":"marked-toc","description":"Generate a markdown TOC (table of contents).","dist-tags":{"latest":"0.3.0"},"versions":{"0.1.0":{"name":"marked-toc","description":"Generate a markdown TOC (table of contents), using the [marked.js](https://github.com/chjj/marked) lexer and parser.","version":"0.1.0","homepage":"https://github.com/jonschlinkert/marked-toc","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"https://github.com/jonschlinkert/marked-toc.git"},"bugs":{"url":"https://github.com/jonschlinkert/marked-toc/issues"},"licenses":[{"type":"MIT","url":"https://github.com/jonschlinkert/marked-toc/blob/master/LICENSE-MIT"}],"main":"index.js","engines":{"node":">= 0.8.0"},"dependencies":{"marked":"~0.2.10"},"devDependencies":{"grunt":"~0.4.1","grunt-contrib-clean":"~0.5.0","grunt-contrib-jshint":"~0.6.4","grunt-contrib-nodeunit":"~0.2.0"},"keywords":["readme","markdown","toc","table of contents"],"_id":"marked-toc@0.1.0","dist":{"shasum":"9c6e9a96056ad47ae6ad0672757a40bf1bfeb3eb","tarball":"https://registry.npmjs.org/marked-toc/-/marked-toc-0.1.0.tgz","integrity":"sha512-uDAhf2dSGPDML6CCOihQ5G4lJP73bRuarsicaGFnU+JqXDKt5eRBljgwSQZ9nOA2iVmy1PoDAgoXiyWkz5YKig==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHsMZZhfoLMyWCLt44wHE6ZBn21u4Rms2qAtgrtailkzAiEA6KWU/Uqnma69Qbaon4MyxZoIQ5cGvRuHlA2ST0S/7D4="}]},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"directories":{}},"0.1.1":{"name":"marked-toc","description":"Generate a markdown TOC (table of contents), using the [marked.js](https://github.com/chjj/marked) lexer and parser.","version":"0.1.1","homepage":"https://github.com/jonschlinkert/marked-toc","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"https://github.com/jonschlinkert/marked-toc.git"},"bugs":{"url":"https://github.com/jonschlinkert/marked-toc/issues"},"licenses":[{"type":"MIT","url":"https://github.com/jonschlinkert/marked-toc/blob/master/LICENSE-MIT"}],"main":"index.js","engines":{"node":">= 0.8.0"},"dependencies":{"marked":"~0.2.10"},"devDependencies":{"grunt":"~0.4.1","grunt-contrib-clean":"~0.5.0","grunt-contrib-jshint":"~0.6.4","grunt-contrib-nodeunit":"~0.2.0"},"keywords":["readme","markdown","toc","table of contents"],"_id":"marked-toc@0.1.1","dist":{"shasum":"549b10189f507627a774aaee19139041e01580b9","tarball":"https://registry.npmjs.org/marked-toc/-/marked-toc-0.1.1.tgz","integrity":"sha512-HzhLLjXnnXQSU0sqib78vJ61eJRJDfSfB7kZzWykryCXmQfa21IMFmwXCW9cilA4qVngJUdGQals/zIjvAihVQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDA3nAUjlE6UKvtfCGf7tNz9pCmC0Xt18v2cyNIc+DLRgIhAK7KImmiunFvwsqzrcriMe07Bm3mNDXyO94Paz6TXJpU"}]},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"directories":{}},"0.1.2":{"name":"marked-toc","description":"Generate a markdown TOC (table of contents), using the [marked.js](https://github.com/chjj/marked) lexer and parser.","version":"0.1.2","homepage":"https://github.com/jonschlinkert/marked-toc","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"https://github.com/jonschlinkert/marked-toc.git"},"bugs":{"url":"https://github.com/jonschlinkert/marked-toc/issues"},"licenses":[{"type":"MIT","url":"https://github.com/jonschlinkert/marked-toc/blob/master/LICENSE-MIT"}],"main":"index.js","engines":{"node":">= 0.8.0"},"dependencies":{"marked":"~0.2.10","lodash":"~2.4.0"},"devDependencies":{"grunt":"~0.4.1","grunt-contrib-clean":"~0.5.0","grunt-contrib-jshint":"~0.6.4","grunt-contrib-nodeunit":"~0.2.0"},"keywords":["readme","markdown","toc","table of contents"],"_id":"marked-toc@0.1.2","dist":{"shasum":"c160494c3f8a8a6ee3ddcc087df74777325a7d98","tarball":"https://registry.npmjs.org/marked-toc/-/marked-toc-0.1.2.tgz","integrity":"sha512-08dkecVnRowfA6md04EhsRJzlD4ZHImrVARyl/G2N7zdqrl5hPmUMUBPfS88nAwQ852jDgGc5eePkTGB1AGomw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEAyvwYAi7MPZjB2rJY+EgXFTAZS9LdGu1sGD/eCOt9oAiA2ebi8KR6iYku56PGWfLYZZaFcYJQW2zJl23uA/kQJTg=="}]},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"directories":{}},"0.1.3":{"name":"marked-toc","description":"Generate a markdown TOC (table of contents), using the [marked.js](https://github.com/chjj/marked) lexer and parser.","version":"0.1.3","homepage":"https://github.com/jonschlinkert/marked-toc","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"https://github.com/jonschlinkert/marked-toc.git"},"bugs":{"url":"https://github.com/jonschlinkert/marked-toc/issues"},"licenses":[{"type":"MIT","url":"https://github.com/jonschlinkert/marked-toc/blob/master/LICENSE-MIT"}],"main":"index.js","engines":{"node":">= 0.8.0"},"dependencies":{"marked":"~0.2.10","lodash":"~2.4.0"},"devDependencies":{"grunt":"~0.4.1","grunt-contrib-clean":"~0.5.0","grunt-contrib-jshint":"~0.6.4","grunt-contrib-nodeunit":"~0.2.0"},"keywords":["readme","markdown","toc","table of contents"],"_id":"marked-toc@0.1.3","dist":{"shasum":"1b92ebe5a7f22ed441075e0117092afdbc1ad1c6","tarball":"https://registry.npmjs.org/marked-toc/-/marked-toc-0.1.3.tgz","integrity":"sha512-1zt+zN3wsJWaW6yUge457XYI5eii+Zxs564HuIAUd66DUJ9oR1iZJ7GxL1IjpUj95IpSEv5QliLby4eAZlUHPQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICXR6RuaRgWyLA7/quQ1jHhePL/z4hZMdW6787i7ox0wAiEAxBiM2cEc5CjMopDACjUZZHKjVwvnIt3HneGjeLOKrQk="}]},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"directories":{}},"0.1.4":{"name":"marked-toc","description":"Generate a markdown TOC (table of contents), using the [marked.js](https://github.com/chjj/marked) lexer and parser.","version":"0.1.4","homepage":"https://github.com/jonschlinkert/marked-toc","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"https://github.com/jonschlinkert/marked-toc.git"},"bugs":{"url":"https://github.com/jonschlinkert/marked-toc/issues"},"licenses":[{"type":"MIT","url":"https://github.com/jonschlinkert/marked-toc/blob/master/LICENSE-MIT"}],"main":"index.js","engines":{"node":">= 0.8.0"},"dependencies":{"marked":"~0.2.10","lodash":"~2.4.0"},"devDependencies":{"grunt":"~0.4.1","grunt-contrib-clean":"~0.5.0","grunt-contrib-jshint":"~0.6.4","grunt-contrib-nodeunit":"~0.2.0"},"keywords":["readme","markdown","toc","table of contents"],"_id":"marked-toc@0.1.4","dist":{"shasum":"52815a2b8dbca8f4c74a290a898330a80edcfc9d","tarball":"https://registry.npmjs.org/marked-toc/-/marked-toc-0.1.4.tgz","integrity":"sha512-Njrcziw9iz+iN4Y9G3SUKP4wgmSYG5SLY707LzI/nZ1bkmaBYSXhRbC6mnLO6AEjIREYbAIi1hravLMoC15XAA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGGLXWW3UpqOr/GBQyl5v40ntfkiV+xZLYPA3A/r0sAyAiBthBQt2u1ngpvasOVVz0cRhUIujbBbw4HjCYTiZ6LBRw=="}]},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"directories":{}},"0.1.5":{"name":"marked-toc","description":"Generate a markdown TOC (table of contents), using the [marked.js](https://github.com/chjj/marked) lexer and parser.","version":"0.1.5","homepage":"https://github.com/jonschlinkert/marked-toc","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"https://github.com/jonschlinkert/marked-toc.git"},"bugs":{"url":"https://github.com/jonschlinkert/marked-toc/issues"},"licenses":[{"type":"MIT","url":"https://github.com/jonschlinkert/marked-toc/blob/master/LICENSE-MIT"}],"main":"index.js","engines":{"node":">= 0.8.0"},"dependencies":{"marked":"~0.2.10","lodash":"~2.4.0"},"devDependencies":{"grunt":"~0.4.1","grunt-contrib-clean":"~0.5.0","grunt-contrib-jshint":"~0.6.4","grunt-contrib-nodeunit":"~0.2.0"},"keywords":["readme","markdown","toc","table of contents"],"_id":"marked-toc@0.1.5","dist":{"shasum":"75c565661055014a4adabd23958ae18ed93dc4d2","tarball":"https://registry.npmjs.org/marked-toc/-/marked-toc-0.1.5.tgz","integrity":"sha512-Sm26k8VK+ijFgiqjUNOXhbsgeq5KWFYMTg6CCtvfY4sbeAB76UTBmu06O9n3cgS5BPM5egF5/vNWdB2GqpDVzw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCID71qKcJ4sFwlSTKaMoxF6Z6Iuy8nE7Kpvj2EAGAHRsSAiBLbIsj8n7tCbrHWb75OL45xU0aY9vCRNuWbFU+8QDBiQ=="}]},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"directories":{}},"0.2.1":{"name":"marked-toc","description":"Generate a markdown TOC (table of contents), using the [marked.js](https://github.com/chjj/marked) lexer and parser.","version":"0.2.1","homepage":"https://github.com/jonschlinkert/marked-toc","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"https://github.com/jonschlinkert/marked-toc.git"},"bugs":{"url":"https://github.com/jonschlinkert/marked-toc/issues"},"licenses":[{"type":"MIT","url":"https://github.com/jonschlinkert/marked-toc/blob/master/LICENSE-MIT"}],"bin":{"toc":"./bin/toc"},"main":"index.js","engines":{"node":">= 0.8.0"},"devDependencies":{"chai":"~1.9.0","mocha":"~1.17.1"},"dependencies":{"fs-utils":"~0.2.1","globule":"~0.2.0","lodash":"~2.4.1","marked":"~0.3.1","template":"~0.1.5","uslug":"~1.0.3","relative":"~0.1.0","chalk":"~0.4.0","gray-matter":"~0.2.3"},"keywords":["readme","markdown","toc","table of contents"],"_id":"marked-toc@0.2.1","dist":{"shasum":"dfb663b052cd62924d37e41b84a758468aaa4976","tarball":"https://registry.npmjs.org/marked-toc/-/marked-toc-0.2.1.tgz","integrity":"sha512-9sUA+n0qhRRw8GqsAreOLMga7yT6NslNT/JhX3HZ4fd7yeQQKML2msqkFLA14wyxAHy7pNINoY4kNvau+ftrmQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDE+uj5HbGHcVO1UrTFQ/rTdDU32Dp2lUb3wPxKaJjb4AiEAxWx/weSKKkdv0/5yPDYmJ27n39x+ZiFFb5Cfkje3NXg="}]},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}]},"0.2.2":{"name":"marked-toc","description":"Generate a markdown TOC (table of contents), using the [marked.js](https://github.com/chjj/marked) lexer and parser.","version":"0.2.2","homepage":"https://github.com/jonschlinkert/marked-toc","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"https://github.com/jonschlinkert/marked-toc.git"},"bugs":{"url":"https://github.com/jonschlinkert/marked-toc/issues"},"licenses":[{"type":"MIT","url":"https://github.com/jonschlinkert/marked-toc/blob/master/LICENSE-MIT"}],"bin":{"toc":"./bin/toc"},"main":"index.js","engines":{"node":">= 0.8.0"},"devDependencies":{"chai":"~1.9.0","mocha":"~1.17.1"},"dependencies":{"fs-utils":"~0.2.1","globule":"~0.2.0","lodash":"~2.4.1","marked":"~0.3.1","template":"~0.1.5","uslug":"~1.0.3","relative":"~0.1.0","chalk":"~0.4.0","gray-matter":"~0.2.3"},"keywords":["readme","markdown","toc","table of contents"],"_id":"marked-toc@0.2.2","dist":{"shasum":"4009af4b66eed6692a7c6224a743dae39a78ed51","tarball":"https://registry.npmjs.org/marked-toc/-/marked-toc-0.2.2.tgz","integrity":"sha512-0xwxuppncioH0KvgzG9NN8KvFtaDUZWU6BHXRWBF06rTynEAaXuoh2h17ZnfxU+B2ngv8/C4A7R+7/mfBapILA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDQdoiH68gGo8ofRq0IgONdYSAgrl+NFDE8dKZKBCvRRwIgSAhg6Bf9uEOSCGBkMh3XZQQHwfYyhEH7g4kKwr3732I="}]},"_from":".","_npmVersion":"1.3.24","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}]},"0.2.3":{"name":"marked-toc","description":"Generate a markdown TOC (table of contents), using the [marked.js](https://github.com/chjj/marked) lexer and parser.","version":"0.2.3","homepage":"https://github.com/jonschlinkert/marked-toc","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"https://github.com/jonschlinkert/marked-toc.git"},"bugs":{"url":"https://github.com/jonschlinkert/marked-toc/issues"},"licenses":[{"type":"MIT","url":"https://github.com/jonschlinkert/marked-toc/blob/master/LICENSE-MIT"}],"bin":{"toc":"./bin/toc"},"main":"index.js","engines":{"node":">= 0.8.0"},"devDependencies":{"chai":"~1.9.0","mocha":"~1.17.1"},"dependencies":{"fs-utils":"~0.2.1","globule":"~0.2.0","lodash":"~2.4.1","marked":"~0.3.1","template":"~0.1.5","uslug":"~1.0.3","relative":"~0.1.0","chalk":"~0.4.0","gray-matter":"~0.2.3"},"keywords":["readme","markdown","toc","table of contents"],"_id":"marked-toc@0.2.3","dist":{"shasum":"1252d5a13a6b6bb56403be80eff58945f5f1dd5e","tarball":"https://registry.npmjs.org/marked-toc/-/marked-toc-0.2.3.tgz","integrity":"sha512-F6PVmkJS076H3LPXjKQaJBYRSZGmyEtcyZF6dQxZCgLbxFze14Gg1vrev+65tavXA/edy6NPoe9Nim8+Q0rBew==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCfiiph7cg2puMk9dvs3v4GTFRwBaO3YBLXL0sz3h5nCQIgT5/aAHRNIliv8vafQ69YMqv1xaKmfbMYoEd+z/HDrPM="}]},"_from":".","_npmVersion":"1.3.24","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}]},"0.2.4":{"name":"marked-toc","description":"Generate a markdown TOC (table of contents), using the [marked.js](https://github.com/chjj/marked) lexer and parser.","version":"0.2.4","homepage":"https://github.com/jonschlinkert/marked-toc","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"https://github.com/jonschlinkert/marked-toc.git"},"bugs":{"url":"https://github.com/jonschlinkert/marked-toc/issues"},"licenses":[{"type":"MIT","url":"https://github.com/jonschlinkert/marked-toc/blob/master/LICENSE-MIT"}],"bin":{"toc":"./bin/toc"},"main":"index.js","engines":{"node":">= 0.8.0"},"devDependencies":{"chai":"~1.9.0","mocha":"~1.17.1"},"dependencies":{"fs-utils":"~0.4.0","globule":"~0.2.0","gray-matter":"~0.3.5","lodash":"~2.4.1","marked":"0.3.0","template":"~0.1.6","uslug":"~1.0.3"},"keywords":["readme","markdown","toc","table of contents"],"_id":"marked-toc@0.2.4","dist":{"shasum":"583cac4879d954e99f890c3b5175a205b9a9ef50","tarball":"https://registry.npmjs.org/marked-toc/-/marked-toc-0.2.4.tgz","integrity":"sha512-+eUf5i3Axv6JyN0iw7VOS3Us+NSSOfyJVu7vNcrfV3uKEXzMlNl5Rc2RWKjCdoNGXsa0TmtLkZUoQ3BQcDol1A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAZArePBs48lLFKuJjPPjzM70AD6dxF1+CiTiiBcPKSCAiEA6QHL7vJH83w3qY2iZ10kdHL1iscynoBAQToETcRXKJY="}]},"_from":".","_npmVersion":"1.3.24","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}]},"0.2.5":{"name":"marked-toc","description":"Generate a markdown TOC (table of contents), using the [marked.js](https://github.com/chjj/marked) lexer and parser.","version":"0.2.5","homepage":"https://github.com/jonschlinkert/marked-toc","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"https://github.com/jonschlinkert/marked-toc.git"},"bugs":{"url":"https://github.com/jonschlinkert/marked-toc/issues"},"licenses":[{"type":"MIT","url":"https://github.com/jonschlinkert/marked-toc/blob/master/LICENSE-MIT"}],"bin":{"toc":"./bin/toc"},"main":"index.js","engines":{"node":">= 0.8.0"},"devDependencies":{"chai":"~1.9.0","mocha":"~1.17.1"},"dependencies":{"fs-utils":"~0.4.0","globule":"~0.2.0","gray-matter":"~0.3.5","lodash":"~2.4.1","marked":"0.3.0","template":"~0.1.6","uslug":"~1.0.3"},"keywords":["readme","markdown","toc","table of contents"],"_id":"marked-toc@0.2.5","dist":{"shasum":"e46ba63e3fbb2f3ed6fb3662efbffbf474461371","tarball":"https://registry.npmjs.org/marked-toc/-/marked-toc-0.2.5.tgz","integrity":"sha512-tiDIxpV8Xy6G6nI0qyV/2u5etW8bqiN5I+enBe1ziZCgLX07CE2huUnAl/L7tcVbZTpn4jvZgQCdX0fZc8ThhQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCID9+qHqd77n6cgCaDvtVpmRAZJRb+NV4y8VrTEaFB7skAiBa3OlllT797l4Qdmdi90y4S2pTKHKZGzWO3+foz+noeA=="}]},"_from":".","_npmVersion":"1.3.24","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}]},"0.2.6":{"name":"marked-toc","description":"Generate a markdown TOC (table of contents), using the [marked.js](https://github.com/chjj/marked) lexer and parser.","version":"0.2.6","homepage":"https://github.com/jonschlinkert/marked-toc","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"https://github.com/jonschlinkert/marked-toc.git"},"bugs":{"url":"https://github.com/jonschlinkert/marked-toc/issues"},"licenses":[{"type":"MIT","url":"https://github.com/jonschlinkert/marked-toc/blob/master/LICENSE-MIT"}],"bin":{"toc":"./bin/toc"},"main":"index.js","engines":{"node":">= 0.8.0"},"devDependencies":{"chai":"~1.9.0","mocha":"~1.17.1"},"dependencies":{"fs-utils":"~0.4.0","globule":"~0.2.0","gray-matter":"~0.3.5","lodash":"~2.4.1","marked":"0.3.0","template":"~0.1.6","uslug":"~1.0.3"},"keywords":["readme","markdown","toc","table of contents"],"_id":"marked-toc@0.2.6","_shasum":"006e0730f3ccd46d9ffbac3b971f26ed88cfab97","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"006e0730f3ccd46d9ffbac3b971f26ed88cfab97","tarball":"https://registry.npmjs.org/marked-toc/-/marked-toc-0.2.6.tgz","integrity":"sha512-d7ftBq2bj5DE0jdIgVArdqkT5w3q3eAJB0ONX0wNz+34hizTcnFyQlLEo42aM5+9LsC0KdxS5uuZj8e0911Ihw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDprMVcszbT+7FfIUyz5wPJaF8M0tPW+d7vl88H5g83VQIgDO+truyhkB2XtbHYY2TVQBQEBg5gzd8YAXu7Bh7YaSU="}]}},"0.2.8":{"name":"marked-toc","description":"Generate a markdown TOC (table of contents).","version":"0.2.8","homepage":"https://github.com/jonschlinkert/marked-toc","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"https://github.com/jonschlinkert/marked-toc.git"},"bugs":{"url":"https://github.com/jonschlinkert/marked-toc/issues"},"licenses":[{"type":"MIT","url":"https://github.com/jonschlinkert/marked-toc/blob/master/LICENSE-MIT"}],"bin":{"toc":"./cli.js"},"main":"index.js","engines":{"node":">= 0.8.0"},"devDependencies":{"chai":"~1.9.0","mocha":"~1.17.1"},"dependencies":{"fs-utils":"^0.5.0","gray-matter":"^0.5.1","lodash":"~2.4.1","marked":"0.3.0","template":"~0.1.6","uslug":"~1.0.3"},"keywords":["readme","markdown","toc","table of contents"],"_id":"marked-toc@0.2.8","_shasum":"6a663a687e54e47e03ab2d057db2d6922ede1ef4","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"},{"name":"doowb","email":"brian.woodward@gmail.com"}],"dist":{"shasum":"6a663a687e54e47e03ab2d057db2d6922ede1ef4","tarball":"https://registry.npmjs.org/marked-toc/-/marked-toc-0.2.8.tgz","integrity":"sha512-cHR+enUOt4m7cdaNBnsWXRKwm7bVEevENteabruOb9fyCi5XpDMcJRL+J0cIP6RG5ra3ir6DIGYYwo5tJG9D9w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD7k83NAKCJShAnkXrTIL6xHNchtwH3OYSwUCu4NH5zrwIgAwIU4Q4YrnOKYQFyeLUmnz8DMV1xHSEZ+rOkDXSYtig="}]}},"0.3.0":{"name":"marked-toc","description":"Generate a markdown TOC (table of contents).","version":"0.3.0","homepage":"https://github.com/jonschlinkert/marked-toc","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"https://github.com/jonschlinkert/marked-toc.git"},"bugs":{"url":"https://github.com/jonschlinkert/marked-toc/issues"},"licenses":[{"type":"MIT","url":"https://github.com/jonschlinkert/marked-toc/blob/master/LICENSE-MIT"}],"bin":{"toc":"./cli.js"},"main":"index.js","engines":{"node":">= 0.8.0"},"devDependencies":{"chai":"~1.9.0","mocha":"~1.17.1"},"dependencies":{"fs-utils":"^0.5.0","gray-matter":"^0.5.1","lodash":"~2.4.1","marked":"0.3.0","template":"~0.1.6","uslug":"~1.0.3"},"keywords":["readme","markdown","toc","table of contents"],"scripts":{"test":"mocha -R spec"},"_id":"marked-toc@0.3.0","_shasum":"079a8a8da4bf76c62eff9bfabbf53fb33443837a","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"},{"name":"doowb","email":"brian.woodward@gmail.com"}],"dist":{"shasum":"079a8a8da4bf76c62eff9bfabbf53fb33443837a","tarball":"https://registry.npmjs.org/marked-toc/-/marked-toc-0.3.0.tgz","integrity":"sha512-NLyz47kKKIMSneR5KJnuS5A/UggNh9fTi+CNcnFeUm/Och42qGWoPNYhPtn0aSh8lJuHs9rE9dRXvtyCPc6rXQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGSktuoV9Q/W9fz1i4YZo2wLp6pikriBVsJoXT8INahJAiEAyrHSExflzpbdXnc98S94GwzoLvVU3rsZEUC5fA4WQn0="}]}}},"readme":"# marked-toc [![NPM version](https://badge.fury.io/js/marked-toc.png)](http://badge.fury.io/js/marked-toc)\n\n> Generate a TOC (table of contents) for markdown files\n\n_(example)_\n<!-- toc -->\n* [Getting Started](#getting-started)\n* [Usage](#usage)\n* [Options](#options)\n  * [template](#template)\n  * [bullet](#bullet)\n  * [maxDepth](#maxdepth)\n  * [firsth1](#firsth1)\n  * [omit](#omit)\n  * [clean](#clean)\n  * [blacklist](#blacklist)\n  * [allowedChars](#allowedchars)\n* [API](#api)\n  * [toc](#toc)\n  * [toc.insert](#tocinsert)\n  * [toc.add](#tocadd)\n  * [toc.raw](#tocraw)\n* [Contributing](#contributing)\n* [Author](#author)\n* [License](#license)\n\n<!-- toc stop -->\n\n## Getting Started\n\nInstall the module with [npm](npmjs.org):\n\n```bash\nnpm i -g marked-toc --save\n```\n\nIn any markdown file, add `<!-- toc -->` where you want to add the TOC. Then in the command line, run:\n\n```bash\ntoc [filename]\n```\n\nIf you add the toc to a `README.md`, no need to add `[filename]`, just run `toc`.\n\n\n## Usage\n\n```javascript\nvar toc = require('marked-toc');\nvar file = fs.readFileSync('README.md', 'utf8');\n\n// Generate a TOC\ntoc(file);\n```\n\n## Options\n\nAll methods accept an object of options as the last argument.\n\n### template\n\nType: `String`\n\nDefault: `<%= depth %><%= bullet %>[<%= heading %>](#<%= url %>)\\n`\n\nThe Lo-Dash template used to generate the Table of Contents.\n\n**Example (this is the default):**\n\n```js\nvar tmpl = '<%= depth %><%= bullet %>[<%= heading %>](#<%= url %>)\\n';\ntoc(file, {template: tmpl});\n```\n\n### bullet\n\nType: `String|Array`\n\nDefault: `* `\n\nThe bullet to use for each item in the generated TOC. This is passed as a variable to the `<%= bullet %>` template.\n\nIf an array, like `['* ', '- ']`, the bullet point strings will be used based on the header depth.\n\n\n### maxDepth\n\nType: `Number`\n\nDefault: `3`\n\nUse headings whose depth is at most maxDepth.\n\n\n### firsth1\n\nType: `Boolean`\n\nDefault: `False`\n\nInclude the first h1-level heading in a file. For example, this prevent the first heading in a README from showing up in the TOC.\n\n\n### omit\n\nType: `Array`\n\nDefault: `['Table of Contents', 'TOC', 'TABLE OF CONTENTS']`\n\nOmit entire headings from the TOC if they have these strings.\n\n### clean\n\nType: `Array`\n\nDefault: `['mixin', 'helper', 'filter']`\n\nStrip \"blacklisted\" keywords from the headings.\n\n**Example:**\n\n```js\ntoc(file, {clean: ['docs', 'methods']});\n```\n\nconverts this:\n\n```markdown\n## docs-foo\nFoo\n\n## methods-bar\nBar\n\n```\nto:\n\n```markdown\n* [foo](#docs-foo)\n* [bar](#methods-bar)\n\n```\n\n### blacklist\n\nType: `Boolean`\n\nDefault: `true`\n\nAn array of strings used the `omit` option:\n\n```js\n['grunt', 'helper', 'handlebars-helper', 'mixin', 'filter', 'assemble-contrib', 'assemble']\n```\n\n_(These strings are used a lot in documentation headings, but (usually) shouldn't show up in the gererated TOC.)_\n\n\n### allowedChars\n\nType: `String`\n\nDefault: `-`\n\nString of chars that you want to be whitelisted when headings are \"slugified\" for links, e.g. `-_~`.\n\n**Example:**\n\n```markdown\n// This heading\n# Getting Started\n\n// Converts to this link\n* [Getting Started](#getting-started)\n\n```\n\n## API\n\nMost methods expect a string as the first paramter, so unless otherwise noted, assume that each example gets the `str` variable from:\n\n\n```js\nvar str = fs.readFileSync('README.md', 'utf8')\n```\n\n### toc\n\nGenerates a Table of Contents from a string.\n\n```js\n// Generate a TOC\nvar table = toc(str);\nfs.writeFileSync('toc.md', table);\n```\n\n### toc.insert\n\nInject a TOC at the insertion point in a string, `<!-- toc -->`.\n\n**Params:**\n\n* `str`: the content\n* `options`: object of options\n\n```js\ntoc.insert(str, options);\n```\n\n### toc.add\n\n1. Read a file and inject a TOC at the specified insertion point, `<!-- toc -->`,\n2. Write the file to the specified `dest`, _(or re-write back to the source file if no `dest` is passed)_\n\n```js\ntoc.add(src, dest, options)\n```\n\n**Example:**\n\n```js\ntoc.add('path/to/source.md', 'path/to/dest.md');\n```\n\n**Source only:**\n\n```js\ntoc.add('README.md');\n```\n\n### toc.raw\n\nOutput a \"raw\" (JSON) Table of Contents **object**, for customization and usage in templates\n\n```js\ntoc.raw(str, options);\n```\n\nReturns an object (JSON) with two properties, `data` and `toc`:\n\n* `data`: array of headings and associated properties used to construct a TOC. **TIP**: this can be extended with properties, such as src path etc.\n* `toc`: the actual Table of Contents result, as a string\n\n**Example:**\n\n```json\n{\n  // Array of\n  \"data\": [\n    {\n      \"depth\": \"\",\n      \"bullet\": \"* \",\n      \"heading\": \"Getting Started\",\n      \"url\": \"getting-started\"\n    },\n    {\n      \"depth\": \"\",\n      \"bullet\": \"* \",\n      \"heading\": \"Usage\",\n      \"url\": \"usage\"\n    }\n  ],\n\n  // String. the actual TOC\n  \"toc\": \"* [Getting Started](#getting-started)\\n* [Options](#options)\\n* [Contributing](#contributing)\\n\"\n}\n```\n\nSee [an example](./examples/toc.json).\n\n\n## Contributing\nIn lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint your code using [jshint](jshint.com) and run tests with `mocha -R spec` before making a pull request.\n\n## Author\n\n+ [github/jonschlinkert](https://github.com/jonschlinkert)\n+ [twitter/jonschlinkert](http://twitter.com/jonschlinkert)\n\n## License\nCopyright (c) 2014 Jon Schlinkert, contributors\nLicensed under the MIT license.\n","maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"},{"name":"doowb","email":"brian.woodward@gmail.com"}],"time":{"modified":"2022-06-19T16:14:10.947Z","created":"2013-11-08T19:40:29.279Z","0.1.0":"2013-11-08T19:40:39.741Z","0.1.1":"2013-11-08T21:21:15.806Z","0.1.2":"2013-11-30T11:28:38.662Z","0.1.3":"2013-11-30T11:43:48.534Z","0.1.4":"2013-12-09T18:34:14.013Z","0.1.5":"2013-12-17T19:49:28.606Z","0.2.0":"2014-02-03T17:25:23.725Z","0.2.1":"2014-02-03T20:14:46.598Z","0.2.2":"2014-02-17T13:24:51.677Z","0.2.3":"2014-03-21T05:05:39.332Z","0.2.4":"2014-04-20T10:31:48.328Z","0.2.5":"2014-04-20T10:35:38.181Z","0.2.6":"2014-07-07T19:12:07.939Z","0.2.8":"2014-10-19T02:14:12.572Z","0.3.0":"2014-12-10T05:05:12.268Z","0.3.1":"2014-12-10T06:41:18.423Z","0.4.0":"2014-12-10T06:42:26.160Z"},"author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"https://github.com/jonschlinkert/marked-toc.git"},"readmeFilename":"README.md","users":{"jonschlinkert":true,"pje":true,"tunnckocore":true,"octoo":true,"jerkovicl":true,"dheerajvs":true,"jasonpincin":true,"doodlewind":true,"tmurngon":true},"homepage":"https://github.com/jonschlinkert/marked-toc","keywords":["readme","markdown","toc","table of contents"],"bugs":{"url":"https://github.com/jonschlinkert/marked-toc/issues"}}