Package
doctoc
Generates TOC for markdown files of local git repo.
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
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- jsDelivr
https://cdn.jsdelivr.net/npm/doctoc@2.5.0/ - unpkg
https://unpkg.com/doctoc@2.5.0/ - esm.sh
https://esm.sh/doctoc@2.5.0
| Package | Weekly downloads | Gzip | Last release | Module | Comparison |
|---|---|---|---|---|---|
| @technote-space/doctoc | 5.8k | - | 3 years ago | ESM + CommonJS | - |
| jsdoc-to-markdown | 184.3k | - | 11 months ago | ESM + CommonJS | doctoc vs jsdoc-to-markdown |
| docsify | 66.1k | - | 2 months ago | ESM only | - |
| typedoc-plugin-markdown | 2.4m | - | 6 days ago | ESM only | - |
| @docmd/plugin-math | 10.1k | - | 3 days ago | ESM only | - |
| @docmd/api | 9.8k | - | 3 days ago | ESM only | - |
| @docmd/plugin-openapi | 8.6k | - | 3 days ago | ESM only | - |
| @docmd/engine-rust | 7.5k | - | 3 days ago | ESM only | - |
Indexability: Indexed.