Skip to content
JS
Package

doctoc

Generates TOC for markdown files of local git repo.

v2.5.0, 12 Jun 2026MITCommonJSTypes: NoneDocumentation toolingParsers and serialisers
$ npm install doctoc

Key numbers

As of 25 Sept 2026
Weekly downloads
191.9k
+26% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
5
Direct, from package.json
Last release
3 months ago
v2.5.0
GitHub stars
4.5k
484 forks
Open issues / PRs
18 / 9
Contributors
-
Commits, last 52 weeks
68

Downloads

Last week 2026-09-15 to 2026-09-21
0200k400k600kSept 2025Mar 2026Sept 2026High 420.5k (16 Jun 2026)Low 97.4k (30 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

191,892 downloads last week, 866,075 in the last month. The 12-month change of +26% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
-
Latest version
2.5.0, 12 Jun 20263 months ago
First published
-
Last push to GitHub
4 Aug 202651 days before the snapshot
Repository archived
No
Open issues
18
Open pull requests
9
Commits, last 52 weeks
68
Dependents on npm
89

Major versions

-

Recent releases

-

Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
None
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
41 kB
Dependencies (5)
loglevelminimisthtmlparser2anchor-markdown-header@textlint/markdown-to-ast
npm install doctoc
  • jsDelivrhttps://cdn.jsdelivr.net/npm/doctoc@2.5.0/
  • unpkghttps://unpkg.com/doctoc@2.5.0/
  • esm.shhttps://esm.sh/doctoc@2.5.0
PackageWeekly downloadsGzipLast releaseModuleComparison
@technote-space/doctoc5.8k-3 years agoESM + CommonJS-
jsdoc-to-markdown184.3k-11 months agoESM + CommonJSdoctoc vs jsdoc-to-markdown
docsify66.1k-2 months agoESM only-
typedoc-plugin-markdown2.4m-6 days agoESM only-
@docmd/plugin-math10.1k-3 days agoESM only-
@docmd/api9.8k-3 days agoESM only-
@docmd/plugin-openapi8.6k-3 days agoESM only-
@docmd/engine-rust7.5k-3 days agoESM only-

Related

Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.