markdown-toc is a Node.js library for automatically generating tables of contents from Markdown files. It efficiently parses Markdown, identifies headings, and creates a formatted table of contents section. This tool offers options for controlling heading levels, depth, and styling of the generated TOC, ensuring clean and navigable documentation. Use it to simplify maintenance of large Markdown documents and improve user experiences. Supports custom rendering and CLI usage.
The markdown-toc package had frequent releases from 2014-12 to 2017-01, with peaks in 2015 and 2016. Release frequency significantly decreased after 2017-01, with only one release in September 2017. From 2017-10 to September 2025, there have been no new versions published.
Markdown-toc npm package downloads fluctuated throughout 2024 and 2025. After a dip in August 2024, downloads peaked in November 2024 before stabilizing. There has been significant growth in June and July 2025. The current month shows a much lower number compared to the previous months, this can be attributed to the fact that it is not complete.