Skip to content
JS
Package

markdown-toc-gen

Generating and updating table of contents in Markdown files which conform with prettier.

v1.2.0, 31 Mar 2025MIT-Types: NoneMarkdownDocumentation tooling
$ npm install markdown-toc-gen

Key numbers

As of 25 Sept 2026
Weekly downloads
20.7k
-29% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
2
Direct, from package.json
Last release
1 year ago
v1.2.0
GitHub stars
5
3 forks
Open issues / PRs
1 / 1
Contributors
-
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
020k40k60kSept 2025Mar 2026Sept 2026High 43.9k (7 Oct 2025)Low 1.1k (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

20,745 downloads last week, 77,754 in the last month. The 12-month change of -29% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
-
Latest version
1.2.0, 31 Mar 20251 year ago
First published
-
Last push to GitHub
31 Mar 2025542 days before the snapshot
Repository archived
No
Open issues
1
Open pull requests
1
Commits, last 52 weeks
0
Dependents on npm
0

Major versions

-

Recent releases

-

Module format
-Not determined from package.json
TypeScript types
None
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
29 kB
Dependencies (2)
yargsjest-diff
npm install markdown-toc-gen
  • jsDelivrhttps://cdn.jsdelivr.net/npm/markdown-toc-gen@1.2.0/
  • unpkghttps://unpkg.com/markdown-toc-gen@1.2.0/
  • esm.shhttps://esm.sh/markdown-toc-gen@1.2.0
PackageWeekly downloadsGzipLast releaseModuleComparison
moxygen6.4k-24 days agoESM only-
markdown-toc109k-9 years agoCommonJS-
@graphql-markdown/docusaurus8.8k-7 days agoESM + CommonJS-
mdx20.9k-10 years agoCommonJS-
@graphql-markdown/core11.4k-7 days agoESM + CommonJS-
@effect/markdown-toc11.3k-2 years agoCommonJS-
@graphql-markdown/cli10.1k-7 days agoESM + CommonJS-
blume49.1k-todayESM only-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.