Skip to content
JS
Package

markdown-it-toc-and-anchor

markdown-it plugin to add toc and anchor links in headings

v4.2.0, 1 Jan 2019MITCommonJSTypes: NoneMarkdown
$ npm install markdown-it-toc-and-anchor

Key numbers

As of 25 Sept 2026
Weekly downloads
34k
+31% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
2
Direct, from package.json
Last release
7 years ago
v4.2.0
GitHub stars
60
37 forks
Open issues / PRs
16 / 6
Contributors
-
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
020k40k60kSept 2025Mar 2026Sept 2026High 54k (9 Jun 2026)Low 16.2k (1 Sept 2026)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

33,966 downloads last week, 133,578 in the last month. The 12-month change of +31% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
-
Latest version
4.2.0, 1 Jan 20197 years ago
First published
-
Last push to GitHub
1 Jun 20202,307 days before the snapshot
Repository archived
No
Open issues
16
Open pull requests
6
Commits, last 52 weeks
0
Dependents on npm
66

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)
31 kB
Dependencies (2)
cloneuslug
npm install markdown-it-toc-and-anchor
  • jsDelivrhttps://cdn.jsdelivr.net/npm/markdown-it-toc-and-anchor@4.2.0/
  • unpkghttps://unpkg.com/markdown-it-toc-and-anchor@4.2.0/
  • esm.shhttps://esm.sh/markdown-it-toc-and-anchor@4.2.0
PackageWeekly downloadsGzipLast releaseModuleComparison
markdown-it-anchor3.3m-20 days agoESM + CommonJS-
markdown-it-table-of-contents61.2k-6 months agoESM + CommonJS-
markdown-it-toc-done-right40.8k-5 years agoESM + CommonJS-
markdown-it-container476.7k-2 years agoESM + CommonJS-
markdown-it-link-attributes167.5k-4 years agoCommonJS-
markdown-it-lazy-headers19k-11 years agoCommonJS-
markdown-it-footnote480.1k-2 years agoESM + CommonJS-
markdown-it-mark389k-2 years agoESM + CommonJS-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.