mermaid

Markdown-ish syntax for generating flowcharts, mindmaps, sequence diagrams, class diagrams, gantt charts, git graphs and more.

mermaid@12.2.0 was published on 2026-10-13. Its manifest declares 23 runtime dependencies and 0 peer requirements. Type declarations are bundled according to the package metadata. The declared Node.js requirement is >=22.12.0.

All mermaid versions · Permanent reference to 12.2.0

Package specifications

Version12.2.0
License declarationMIT
Published2026-10-13T08:42:16.513Z
Node.js requirement>=22.12.0
Type declarationsBundled declarations
Runtime dependency count23
Peer requirement count0
Optional dependency count0
Minified size693.57 KiB
Minified + gzip169.47 KiB
Unpacked distribution size119455.39 KiB
Published file count1333
Package typemodule
ES module entry./dist/mermaid.core.mjs
Default entryNot declared
Side effects declarationNot declared
Direct advisories0
Resolved graph dependencies116
Repository stars90827
Repository forks9379

Install mermaid 12.2.0

npm install mermaid@12.2.0
pnpm add mermaid@12.2.0
yarn add mermaid@12.2.0

Runtime dependencies

Peer requirements

  • None declared

Optional dependencies

  • None declared

Resolved dependency graph

This deps.dev graph describes a generic 64-bit Linux environment, not your application lockfile.

How to interpret the specifications

Bundlephobia measurements use its standard package build and may exclude peer dependencies. Unpacked npm distribution size includes shipped files and is a different measurement. Module declarations do not prove tree-shaking or runtime compatibility.

Advisories apply to this package version directly; transitive dependencies need separate inspection. Repository signals describe the whole repository and are current observations, including on historical-version pages.

OpenSSF repository checks

Provider assessment: 2026-08-24T00:00:00Z. These are repository checks, not a jsL maintenance score.

Maintained10/10 — 30 commit(s) and 15 issue activity found in the last 90 days -- score normalized to 10
Code-Review7/10 — Found 5/7 approved changesets -- score normalized to 7
CII-Best-Practices0/10 — no effort to earn an OpenSSF best practices badge detected
Dangerous-Workflow10/10 — no dangerous workflow patterns detected
Token-Permissions0/10 — detected GitHub workflow tokens with excessive permissions
License10/10 — license file detected
Binary-Artifacts9/10 — binaries present in source code
Pinned-Dependencies9/10 — dependency not pinned by hash detected -- score normalized to 9
Security-Policy10/10 — security policy file detected
Fuzzing0/10 — project is not fuzzed
Branch-Protection1/10 — branch protection is not maximal on development and all release branches
SAST10/10 — SAST tool detected

Evidence and freshness