Skip to content
JS
Package

astro-mermaid

An Astro integration for rendering Mermaid diagrams with automatic theme switching and client-side rendering

v2.1.0, 24 Jun 2026MITESM onlyTypes: BundledMarkdownParsers and serialisers
$ npm install astro-mermaid

Key numbers

As of 25 Sept 2026
Weekly downloads
97.2k
+1031% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
3
Direct, from package.json
Last release
3 months ago
v2.1.0
GitHub stars
122
11 forks
Open issues / PRs
6 / 3
Contributors
-
Commits, last 52 weeks
39

Downloads

Last week 2026-09-15 to 2026-09-21
050k100k150kSept 2025Mar 2026Sept 2026High 117.4k (8 Sept 2026)Low 5k (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.

97,184 downloads last week, 434,230 in the last month. The 12-month change of +1031% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
-
Latest version
2.1.0, 24 Jun 20263 months ago
First published
-
Last push to GitHub
21 Jul 202665 days before the snapshot
Repository archived
No
Open issues
6
Open pull requests
3
Commits, last 52 weeks
39
Dependents on npm
2

Major versions

-

Recent releases

-

Module format
ESM onlyFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
37 kB
Dependencies (3)
unist-util-visitimport-meta-resolvemdast-util-to-string
Peer dependencies (3)
astromermaid@mermaid-js/layout-elk
npm install astro-mermaid
  • jsDelivrhttps://cdn.jsdelivr.net/npm/astro-mermaid@2.1.0/
  • unpkghttps://unpkg.com/astro-mermaid@2.1.0/
  • esm.shhttps://esm.sh/astro-mermaid@2.1.0
PackageWeekly downloadsGzipLast releaseModuleComparison
@mermaid-js/mermaid-zenuml345k-6 days agoESM only-
@mermaid-js/mermaid-mindmap330.8k-3 years agoESM only-
@docmd/plugin-mermaid9.9k-3 days agoESM only-
@mermaid-js/layout-tidy-tree247.5k-6 days agoESM only-
vue-stream-markdown13.5k-todayESM only-
remove-markdown805k-24 days agoESM + CommonJS-
@khanacademy/simple-markdown26.2k-1 month agoESM + CommonJS-
fenceparser11.5k-4 years agoESM + CommonJS-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.