{"_id":"template-toc","_rev":"22-a6b0b86c9ecf7339122bc753aab7653b","name":"template-toc","description":"Middleware for generating a markdown-formatted table of contents with Template, or Template-based applications","dist-tags":{"latest":"0.6.2"},"versions":{"0.1.0":{"name":"template-toc","description":"Middleware for generating a markdown Table of Contents with Template.","version":"0.1.0","homepage":"https://github.com/jonschlinkert/template-toc","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/template-toc.git"},"bugs":{"url":"https://github.com/jonschlinkert/template-toc/issues"},"license":{"type":"MIT","url":"https://github.com/jonschlinkert/template-toc/blob/master/LICENSE"},"files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"extend-shallow":"^1.1.2","markdown-toc":"^0.8.1"},"devDependencies":{"mocha":"*","should":"*","template":"^0.11.1"},"keywords":[],"_id":"template-toc@0.1.0","_shasum":"03c551e65706fc55e899fc0ec7462e99018af3a7","_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":"03c551e65706fc55e899fc0ec7462e99018af3a7","tarball":"https://registry.npmjs.org/template-toc/-/template-toc-0.1.0.tgz","integrity":"sha512-7MDca6y8m9cUHI++wJlZaWV0L1cOMcvHCisheg5kg6KbJCPgwMOTCj29C3fpJwVg6K8Mye8LO7uuzLtdcYc+gw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCT9svQInLcB59tcTxDaf8X6TaYkudxuxKF96yeflXLuAIgJwsMXXnDdTn2zcudUzsQ67YH7WU6rT4m8+uncMdKKRM="}]}},"0.1.1":{"name":"template-toc","description":"Middleware for generating a markdown Table of Contents with Template or applications based on Template.","version":"0.1.1","homepage":"https://github.com/jonschlinkert/template-toc","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/template-toc.git"},"bugs":{"url":"https://github.com/jonschlinkert/template-toc/issues"},"license":{"type":"MIT","url":"https://github.com/jonschlinkert/template-toc/blob/master/LICENSE"},"files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"extend-shallow":"^1.1.2","markdown-toc":"^0.8.1"},"devDependencies":{"mocha":"*","should":"*","template":"^0.11.1"},"keywords":[],"gitHead":"b10824d00f547c738236bd71316665dcc8c8e201","_id":"template-toc@0.1.1","_shasum":"29dd913734eb42c0a999a7bcbb1a076ed7520260","_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":"29dd913734eb42c0a999a7bcbb1a076ed7520260","tarball":"https://registry.npmjs.org/template-toc/-/template-toc-0.1.1.tgz","integrity":"sha512-6RS+5u4Pu0l2hPblnYnEhOHr95HQaI0XRZSW5xw5ND2NKzQRxK7HUveT0CwmFF9vAb0Ijr4XfUnqtcvbh986tw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGNv6mctFCW8zp+qnRuIHcFVHF/m8bIeBeNCywqPYH1/AiEA+jYLNqNtjW3xGrfl1wZZxV4rJ67gk5EfhtdQByUJQtk="}]}},"0.2.0":{"name":"template-toc","description":"Middleware for generating a markdown Table of Contents with Template or applications based on Template.","version":"0.2.0","homepage":"https://github.com/jonschlinkert/template-toc","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/template-toc.git"},"bugs":{"url":"https://github.com/jonschlinkert/template-toc/issues"},"license":{"type":"MIT","url":"https://github.com/jonschlinkert/template-toc/blob/master/LICENSE"},"files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"devDependencies":{"mocha":"*","should":"*","template":"^0.11.1"},"dependencies":{"extend-shallow":"^1.1.2","markdown-toc":"^0.9.0"},"keywords":["contents","docs","documentation","generate","insert","markdown","md","readme","table","template","toc"],"gitHead":"6373ae9b03ec1118ae4275350a2ec92006028684","_id":"template-toc@0.2.0","_shasum":"66b7a24e34deeed2a6c527bfaf9b2d51709fa5af","_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":"66b7a24e34deeed2a6c527bfaf9b2d51709fa5af","tarball":"https://registry.npmjs.org/template-toc/-/template-toc-0.2.0.tgz","integrity":"sha512-Q5muY+uAJ7hLZ2qaiamevJ49p5Fxan2s66MIyokbhK1mytkRMxFzScnTZ6aORpESBnX7dguGbFvwEi/IgzSCLQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCYaU9ImN4/XzhQLfryE3eqOoJLMd8UGcqGik9wm8/p+gIhANamHymZvTUhSIWeLRxj420NrjxSJX2RJt0ExDBFNDcT"}]}},"0.2.1":{"name":"template-toc","description":"Middleware for generating a markdown Table of Contents with Template or applications based on Template.","version":"0.2.1","homepage":"https://github.com/jonschlinkert/template-toc","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/template-toc.git"},"bugs":{"url":"https://github.com/jonschlinkert/template-toc/issues"},"license":{"type":"MIT","url":"https://github.com/jonschlinkert/template-toc/blob/master/LICENSE"},"files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"devDependencies":{"mocha":"*","should":"*","template":"^0.11.1"},"dependencies":{"extend-shallow":"^1.1.2","markdown-toc":"^0.10.0"},"keywords":["contents","docs","documentation","generate","insert","markdown","md","readme","table","template","toc"],"gitHead":"85db2d4333cafa480368a1599681b59511e05ac2","_id":"template-toc@0.2.1","_shasum":"4f8751dd211d41f81146d64d92f8726ff8595889","_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":"4f8751dd211d41f81146d64d92f8726ff8595889","tarball":"https://registry.npmjs.org/template-toc/-/template-toc-0.2.1.tgz","integrity":"sha512-hhblJG5lhEJUwz4LNL351oGh6LgnWjrzZl6nt0zl5F6skTBJxS0ENXZ9P5LAwbWRcHg/4UfkYS0r3tQC9jrqLw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAwc0kFSd3nMa7sMJRtf/z/R3eeTgrgZxBjCFT/DZSd9AiEA2/VJM3tPnRl3hmMoKtdsNnfECLJLtT+e3zAMxHL7KNU="}]}},"0.3.0":{"name":"template-toc","description":"Middleware for generating a markdown Table of Contents with Template or applications based on Template.","version":"0.3.0","homepage":"https://github.com/jonschlinkert/template-toc","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/template-toc.git"},"bugs":{"url":"https://github.com/jonschlinkert/template-toc/issues"},"license":{"type":"MIT","url":"https://github.com/jonschlinkert/template-toc/blob/master/LICENSE"},"files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"devDependencies":{"mocha":"*","should":"*","template":"^0.11.1"},"dependencies":{"extend-shallow":"^1.1.2","markdown-toc":"^0.10.0"},"keywords":["contents","docs","documentation","generate","insert","markdown","md","readme","table","template","toc"],"gitHead":"76f733d11aec12b122c55ef5ab6f16e3c22ce17e","_id":"template-toc@0.3.0","_shasum":"9214f1109603759702c23ba2e3373ed02819ea82","_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":"9214f1109603759702c23ba2e3373ed02819ea82","tarball":"https://registry.npmjs.org/template-toc/-/template-toc-0.3.0.tgz","integrity":"sha512-/n6EUo8NgXJBoaYZGxvFG7TkJeAOmSoj19PR4crzybn1bOb1mCMAptk5tJzouBOozo3oRU+pSwESHral6xXoSg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFD3FLw9H1CczITk66VmWAvyqsacNHQQjTBwbUljt856AiEA+bZPy738OOoWWprWR7unSib7Yl0723My9HCHyXxnwgw="}]}},"0.3.1":{"name":"template-toc","description":"Middleware for generating a markdown Table of Contents with Template or applications based on Template.","version":"0.3.1","homepage":"https://github.com/jonschlinkert/template-toc","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/template-toc.git"},"bugs":{"url":"https://github.com/jonschlinkert/template-toc/issues"},"license":{"type":"MIT","url":"https://github.com/jonschlinkert/template-toc/blob/master/LICENSE"},"files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"devDependencies":{"mocha":"*","should":"*","template":"^0.10.2"},"dependencies":{"extend-shallow":"^1.1.2","markdown-toc":"^0.10.0"},"keywords":["contents","docs","documentation","generate","insert","markdown","md","readme","table","template","toc"],"gitHead":"acf42f1f7855148ae67a93825679b69f425ce632","_id":"template-toc@0.3.1","_shasum":"35a6f562d6c403cd47f041d8cfb72fd4eb010794","_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":"35a6f562d6c403cd47f041d8cfb72fd4eb010794","tarball":"https://registry.npmjs.org/template-toc/-/template-toc-0.3.1.tgz","integrity":"sha512-2t6NktYgspEeTdx7g12lg5gjlM2Ch9caPr6+urQX2bfnR0uSt96QcFxu3pLp/WeMJ8iqCFmeMDQadNrMEoagXw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC5/XaiaoU9zrm58A7ENEhx6iJQZ89xCZdooVaNRnigogIhAK4d7Hxg+6bAdbsJFxZ7BtJSmpfgU2oTqLaBgNFoksyB"}]}},"0.3.2":{"name":"template-toc","description":"Middleware for generating a markdown Table of Contents with Template or applications based on Template.","version":"0.3.2","homepage":"https://github.com/jonschlinkert/template-toc","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/template-toc.git"},"bugs":{"url":"https://github.com/jonschlinkert/template-toc/issues"},"license":{"type":"MIT","url":"https://github.com/jonschlinkert/template-toc/blob/master/LICENSE"},"files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"devDependencies":{"mocha":"*","should":"*","template":"^0.10.2"},"dependencies":{"extend-shallow":"^1.1.2","markdown-toc":"^0.11.0"},"keywords":["contents","docs","documentation","generate","insert","markdown","md","readme","table","template","toc"],"gitHead":"8bf84d8a219ada2e0c98f291d2426586a3c5e540","_id":"template-toc@0.3.2","_shasum":"1dd308929b3df13a272c39c19a4350dc82958ea8","_from":".","_npmVersion":"2.7.1","_nodeVersion":"1.6.2","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"1dd308929b3df13a272c39c19a4350dc82958ea8","tarball":"https://registry.npmjs.org/template-toc/-/template-toc-0.3.2.tgz","integrity":"sha512-Vxkd5sFj6RrZ1rseBrNaPaeFLx+Vq+jSz788exCxoSGO7qNP9j0IHmUCfQbs+qzRxMfYZCNfuer+eHA2Xdi3hw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDsLeFdPXrRvg1H9MQDJhVn7huxMyRSAY6N37XGeZCr+AIhAJ2uFodCY4qBYDXdn3WmwoWa1HkIG6GBkGoXmcLwohmj"}]}},"0.3.3":{"name":"template-toc","description":"Middleware for generating a markdown Table of Contents with Template or applications based on Template.","version":"0.3.3","homepage":"https://github.com/jonschlinkert/template-toc","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/template-toc.git"},"bugs":{"url":"https://github.com/jonschlinkert/template-toc/issues"},"license":{"type":"MIT","url":"https://github.com/jonschlinkert/template-toc/blob/master/LICENSE"},"files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"devDependencies":{"mocha":"*","should":"*","template":"^0.10.2"},"dependencies":{"extend-shallow":"^1.1.2","markdown-toc":"^0.11.1"},"keywords":["contents","docs","documentation","generate","insert","markdown","md","readme","table","template","toc"],"gitHead":"906a2a7e2ece847db761173dbb7dbe1f1427c62b","_id":"template-toc@0.3.3","_shasum":"35a915321e592f26d9cc90d9e565e00eecfffc75","_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":"35a915321e592f26d9cc90d9e565e00eecfffc75","tarball":"https://registry.npmjs.org/template-toc/-/template-toc-0.3.3.tgz","integrity":"sha512-FwqKngup2LGI8KyeP6Mcb+y/aDXYiUZDJUqRUEHlkUBWjqmme63pGtBByNA2Y0GXN/fXwy/we6KAz+RjmkoDGA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCluIaJXcbXQ7TXLVWmQ4RBlmtCQFMaO/IspX/bSoKXcAIgaNtSLQyHZvTl6U0FLs7+N2jWRNhFFjpiy6+vK344BM4="}]}},"0.4.0":{"name":"template-toc","description":"Middleware for generating a markdown-formatted table of contents with Template, or Template-based applications","version":"0.4.0","homepage":"https://github.com/jonschlinkert/template-toc","author":{"name":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/template-toc.git"},"bugs":{"url":"https://github.com/jonschlinkert/template-toc/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"extend-shallow":"^2.0.1","markdown-toc":"^0.11.7"},"devDependencies":{"engine-base":"^0.1.2","mocha":"*","should":"*","template":"^0.15.0"},"keywords":["contents","docs","documentation","generate","insert","markdown","md","readme","table","template","toc"],"gitHead":"3f20596f790cad850b9de93a601206b63b409758","_id":"template-toc@0.4.0","_shasum":"992d6faed22143a390c48418cdd6d57af70f403a","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.1","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"992d6faed22143a390c48418cdd6d57af70f403a","tarball":"https://registry.npmjs.org/template-toc/-/template-toc-0.4.0.tgz","integrity":"sha512-GLk5Z1KXyKJxLAZPt/7qecXKJnltYDvBpDOzCeK2bfOApjT4FeM7SyB5VIvfEl0/qtcZeXR85pENXPGYuEEO9Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAo7tw06b6qsCnErAyAjtfSjhuZpra0mZHqrkUIFEQACAiEAz+e2qzvpcvpFyMs2n7HrBdwQ5byS/axXPgymnaiCM7g="}]}},"0.5.0":{"name":"template-toc","description":"Middleware for generating a markdown-formatted table of contents with Template, or Template-based applications","version":"0.5.0","homepage":"https://github.com/jonschlinkert/template-toc","author":{"name":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/template-toc.git"},"bugs":{"url":"https://github.com/jonschlinkert/template-toc/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"extend-shallow":"^2.0.1","markdown-toc":"^0.11.7"},"devDependencies":{"assemble-loader":"^0.2.4","engine-base":"^0.1.2","mocha":"*","should":"*","templates":"^0.6.3"},"keywords":["contents","docs","documentation","generate","insert","markdown","md","readme","table","template","toc"],"verb":{"related":{"list":["remarkable","markdown-toc","markdown-utils","verb","template"]}},"gitHead":"99b2eaa79a84b1ee90f4253071a76a6c8c3d98d5","_id":"template-toc@0.5.0","_shasum":"2daa5618cd93d26cb3a863d238b8bb6b2f0bb8ba","_from":".","_npmVersion":"3.3.6","_nodeVersion":"5.0.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"2daa5618cd93d26cb3a863d238b8bb6b2f0bb8ba","tarball":"https://registry.npmjs.org/template-toc/-/template-toc-0.5.0.tgz","integrity":"sha512-AELnUhsvWSl9Jt/tQeXSd+HkWsH7rDJP9km1r5lZ/AZkqRzIUjwfeM5jA60bDvbz5RZrnO+BGM6VcnqePYv5IA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIH+LxqF8uOBPD6UG5MCLE2VioOe+yZcfTqak1OrntzP4AiAQWHl4ZIyzVA+o+ddW5YPIxz8wptVXO1g30XNSvQuRCg=="}]}},"0.5.1":{"name":"template-toc","description":"Middleware for generating a markdown-formatted table of contents with Template, or Template-based applications","version":"0.5.1","homepage":"https://github.com/jonschlinkert/template-toc","author":{"name":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/template-toc.git"},"bugs":{"url":"https://github.com/jonschlinkert/template-toc/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"extend-shallow":"^2.0.1","is-primitive":"^2.0.0","markdown-toc":"^0.11.7"},"devDependencies":{"assemble-loader":"^0.2.4","engine-base":"^0.1.2","mocha":"*","should":"*","templates":"^0.6.3"},"keywords":["contents","docs","documentation","generate","insert","markdown","md","readme","table","template","toc"],"verb":{"related":{"list":["remarkable","markdown-toc","markdown-utils","verb","template"]}},"gitHead":"cbb6e5455eb1e4879b4ef20e17c15301e6b1e28c","_id":"template-toc@0.5.1","_shasum":"151c46e318f9c79131ac944ca69dbd88c7508da9","_from":".","_npmVersion":"3.3.6","_nodeVersion":"5.0.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"151c46e318f9c79131ac944ca69dbd88c7508da9","tarball":"https://registry.npmjs.org/template-toc/-/template-toc-0.5.1.tgz","integrity":"sha512-LMQA2f9bMxvVVgrwz2F+DBKeFuqCYA1H5jGF5046faWbotvr43JMpObHrladDQb+vWQ0Si9xWDukwc/rb5oNFA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCA76PVVMFnuecCtD7NtCU4RzpMeNxThsPdc7iLQVT68AIgZaPmP+C5W/Rizx2kttJbTV7+I2jR/7rCaenqdjKK2y8="}]}},"0.6.0":{"name":"template-toc","description":"Middleware for generating a markdown-formatted table of contents with Template, or Template-based applications","version":"0.6.0","homepage":"https://github.com/jonschlinkert/template-toc","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/template-toc.git"},"bugs":{"url":"https://github.com/jonschlinkert/template-toc/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"extend-shallow":"^2.0.1","is-primitive":"^2.0.0","markdown-toc":"^0.12.2"},"devDependencies":{"assemble-loader":"^0.2.4","engine-base":"^0.1.2","mocha":"*","should":"*","templates":"^0.6.3"},"keywords":["contents","docs","documentation","generate","insert","markdown","md","readme","table","template","toc"],"verb":{"related":{"list":["markdown-toc","markdown-utils","remarkable","templates","verb"]},"toc":{"insert":true},"plugins":["gulp-format-md"],"reflinks":["assemble","templates","verb"],"layout":"default"},"gitHead":"9da8ea31d464761399745bbbbf05985a8bd9773e","_id":"template-toc@0.6.0","_shasum":"247f5f2b36be6b000c7023d0357554eb99f26bc6","_from":".","_npmVersion":"3.3.6","_nodeVersion":"5.0.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"247f5f2b36be6b000c7023d0357554eb99f26bc6","tarball":"https://registry.npmjs.org/template-toc/-/template-toc-0.6.0.tgz","integrity":"sha512-SPG+QYPeFs+W/ubfs3MW1BkEreDRH0wksU2ZkpVMUgwRNXQV2PmtBAm5nIoFCMkrVpMtzjppgDEOTAlM8LTXew==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDykksi/Q/ce6RmrKx9VzKTegpnCpBpVU/PuEHSeaPgNQIhAIQCsCU/ktIxHG4B/NKPsui24Rib3ZwNIoaEgDGAi8y1"}]}},"0.6.1":{"name":"template-toc","description":"Middleware for generating a markdown-formatted table of contents with Template, or Template-based applications","version":"0.6.1","homepage":"https://github.com/jonschlinkert/template-toc","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/template-toc.git"},"bugs":{"url":"https://github.com/jonschlinkert/template-toc/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"extend-shallow":"^2.0.1","is-primitive":"^2.0.0","markdown-toc":"^0.12.2"},"devDependencies":{"assemble-loader":"^0.2.4","engine-base":"^0.1.2","mocha":"*","should":"*","templates":"^0.6.3"},"keywords":["contents","docs","documentation","generate","insert","markdown","md","readme","table","template","toc"],"verb":{"related":{"list":["markdown-toc","markdown-utils","remarkable","templates","verb"]},"toc":{"insert":true},"plugins":["gulp-format-md"],"reflinks":["assemble","templates","verb"],"layout":"default"},"gitHead":"956ebad7f4cc5ad807693a49353131c28de34bfd","_id":"template-toc@0.6.1","_shasum":"f2b217540e660c5d2d87b700ed2b82ea9aec410d","_from":".","_npmVersion":"3.3.6","_nodeVersion":"5.0.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"f2b217540e660c5d2d87b700ed2b82ea9aec410d","tarball":"https://registry.npmjs.org/template-toc/-/template-toc-0.6.1.tgz","integrity":"sha512-n4V9aysazWTIuII2GbhHOA5vRpS0lLpmIdBhRcsoDVzLD2LngvNHxH3pa/seNtCjvwiF5WTEG1zN/zj5rfvT+w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCflmXzEbD+q9+UFM4XKFPTt3IWJqrF3eixsgdg8xzPaAIgAmutnWStyQRVSrcfbLTrrcBsbtlLFHJY3HFiNT//ECo="}]}},"0.6.2":{"name":"template-toc","description":"Middleware for generating a markdown-formatted table of contents with Template, or Template-based applications","version":"0.6.2","homepage":"https://github.com/jonschlinkert/template-toc","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/template-toc.git"},"bugs":{"url":"https://github.com/jonschlinkert/template-toc/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"extend-shallow":"^2.0.1","is-primitive":"^2.0.0","markdown-toc":"^0.12.2"},"devDependencies":{"assemble-loader":"^0.2.4","engine-base":"^0.1.2","mocha":"*","should":"*","templates":"^0.6.3"},"keywords":["contents","docs","documentation","generate","insert","markdown","md","readme","table","template","toc"],"verb":{"related":{"list":["markdown-toc","markdown-utils","remarkable","templates","verb"]},"toc":{"insert":true},"plugins":["gulp-format-md"],"reflinks":["assemble","templates","verb"],"layout":"default"},"gitHead":"956ebad7f4cc5ad807693a49353131c28de34bfd","_id":"template-toc@0.6.2","_shasum":"ad5831631d38480c6b536458ad296bbb563008aa","_from":".","_npmVersion":"3.3.6","_nodeVersion":"5.0.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"ad5831631d38480c6b536458ad296bbb563008aa","tarball":"https://registry.npmjs.org/template-toc/-/template-toc-0.6.2.tgz","integrity":"sha512-0SUGIP6P9KgZgnT7igvCRLAGnOcp5RsFjuRVMv14UMrSyV93rrCLy+rZXmDlCvZPoqyYwie38ibKzrBKOFNfWA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD/Qsj1u6bnUVKziH5KYlXxOUBRAaO7vh1XG8IlNDz+TAIgauHJYQE1sxVAwDuzKWYAryFBOcknDAIwLXEd9xpz5Tg="}]}}},"readme":"# template-toc [![NPM version](https://img.shields.io/npm/v/template-toc.svg)](https://www.npmjs.com/package/template-toc) [![Build Status](https://img.shields.io/travis/jonschlinkert/template-toc.svg)](https://travis-ci.org/jonschlinkert/template-toc)\n\n> Middleware for generating a markdown-formatted table of contents with Template, or Template-based applications\n\n<!-- toc -->\n\n* [Install](#install)\n* [Usage](#usage)\n  - [Two Steps](#two-steps)\n  - [Templates.js](#templatesjs)\n  - [Verb](#verb)\n  - [Assemble](#assemble)\n* [Pro-tip](#pro-tip)\n* [Related projects](#related-projects)\n* [Running tests](#running-tests)\n* [Contributing](#contributing)\n* [Author](#author)\n* [License](#license)\n\n_(TOC generated by [verb](https://github.com/verbose/verb))_\n\n<!-- tocstop -->\n\n## Install\n\nInstall with [npm](https://www.npmjs.com/)\n\n```sh\n$ npm i template-toc --save\n```\n\n## Usage\n\n```js\nvar toc = require('template-toc');\n```\n\n### Two Steps\n\n**1. [Register the middleware](#usage-with-template)**\n\nRegister with [templates](https://github.com/jonschlinkert/templates), [verb](https://github.com/verbose/verb), [assemble](http://assemble.io) or any other application based on [templates](https://github.com/jonschlinkert/templates)\n\n**2. Add a TOC marker**\n\nAdd the following to any markdown file that should get a Table of Contents:\n\n```html\n<!-- toc -->\n```\n\n### Templates.js\n\nUsage with [template.js](https://github.com/jonschlinkert/templates):\n\n```js\nvar Templates = require('templates');\nvar templates = new Templates();\n```\n\n**Pre-render middleware**\n\nIf you want the TOC to be generated before layouts are used or partials are injected into pages, use the `.preRender()` method.\n\n```js\ntemplates.preRender(/\\.md$/, toc(template));\n```\n\nThis project's [verbfile](./.verb.md) is a good example. Verb uses this middleware with `.preRender()` so that the generated TOC only includes \"top-level\" headings that are in the template, and none of the headings from partials are includes.\n\n**Post-render middleware**\n\nIf you want the TOC to be generated **after** layouts are used or partials are injected into pages, use the `.postRender()` method.\n\n```js\ntemplates.postRender(/\\.md$/, toc(template));\n```\n\n**Rendering templates**\n\nOnce the middlware is setup, any templates with a `.md` extension and a `<!-- toc -->` comment will have a TOC injected.\n\n```js\ntemplates.render('README.md', function(err, content) {\n  console.log(content);\n});\n```\n\nVisit [templates](https://github.com/jonschlinkert/templates) for documentation.\n\n### Verb\n\nUsage with [verb](https://github.com/verbose/verb):\n\n```js\nvar verb = require('verb'); // or assemble\nvar app = verb();\n\napp.preRender(/\\.md$/, toc(app));\n// or \napp.postRender(/\\.md$/, toc(app));\n```\n\nVisit [verb](https://github.com/verbose/verb) for documentation.\n\n### Assemble\n\nUsage with [assemble](http://assemble.io):\n\n```js\nvar assemble = require('assemble'); \nvar app = assemble();\n\napp.preRender(/\\.md$/, toc(app));\n// or \napp.postRender(/\\.md$/, toc(app));\n```\n\nVisit [assemble](http://assemble.io) for documentation.\n\n## Pro-tip\n\n**Escaping**\n\nIf, for some reason, you need to use the `<!- toc -->` comment in documentation and you do not want it to be rendered, just add an extra `!` after the first angle bracket, and the extra `!` will be removed but the TOC will not be rendered.\n\n```html\n<!-- toc -->\n```\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)\n* [markdown-utils](https://www.npmjs.com/package/markdown-utils): Micro-utils for creating markdown snippets. | [homepage](https://github.com/jonschlinkert/markdown-utils)\n* [remarkable](https://www.npmjs.com/package/remarkable): Markdown parser, done right. 100% Commonmark support, extensions, syntax plugins, high speed - all in… [more](https://www.npmjs.com/package/remarkable) | [homepage](https://github.com/jonschlinkert/remarkable)\n* [templates](https://www.npmjs.com/package/templates): System for creating and managing template collections, and rendering templates with any node.js template engine.… [more](https://www.npmjs.com/package/templates) | [homepage](https://github.com/jonschlinkert/templates)\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://www.npmjs.com/package/verb) | [homepage](https://github.com/verbose/verb)\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/template-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](https://github.com/jonschlinkert)\nReleased under the MIT license.\n\n***\n\n_This file was generated by [verb](https://github.com/verbose/verb) on December 15, 2015._","maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"time":{"modified":"2022-06-27T04:41:03.396Z","created":"2015-03-15T02:47:05.264Z","0.1.0":"2015-03-15T02:47:05.264Z","0.1.1":"2015-03-15T02:50:41.530Z","0.2.0":"2015-03-19T02:33:14.025Z","0.2.1":"2015-03-21T20:42:05.751Z","0.3.0":"2015-03-21T20:49:40.089Z","0.3.1":"2015-03-22T10:24:27.185Z","0.3.2":"2015-03-25T10:31:41.017Z","0.3.3":"2015-04-23T07:34:15.248Z","0.4.0":"2015-10-21T21:41:13.757Z","0.5.0":"2015-12-11T18:44:04.513Z","0.5.1":"2015-12-15T13:08:10.259Z","0.6.0":"2015-12-15T21:34:36.555Z","0.6.1":"2015-12-15T21:59:38.487Z","0.6.2":"2015-12-16T06:38:35.335Z"},"homepage":"https://github.com/jonschlinkert/template-toc","keywords":["contents","docs","documentation","generate","insert","markdown","md","readme","table","template","toc"],"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/template-toc.git"},"author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"bugs":{"url":"https://github.com/jonschlinkert/template-toc/issues"},"license":"MIT","readmeFilename":"README.md"}