keonik/prisma-erd-generator
Generate an ER Diagram based on your Prisma schema every time you run npx prisma generate observed · 2026-08-28
Health v2 · maintenance only
99/100
- Activity 99
- Release rhythm 99
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 27.0
- age_days: 1902
- days_rel: 8
- days_push: 7
- n_releases_24m: 9
Adoption not part of the score
1031 stars · 63 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A Prisma generator plugin that automatically produces an entity-relationship diagram (ERD) from your Prisma schema each time you run `npx prisma generate`. It outputs Mermaid-based diagrams as SVG, PNG, PDF, or plain Mermaid text, with optional rendering via the Mermaid CLI.
Use cases
- generate an ER diagram from my Prisma schema
- visualize database relationships in a Prisma project
- keep database documentation up to date automatically
- export my data model as SVG or PNG
- create Mermaid ER diagrams without drawing them by hand
When to choose
- you use Prisma ORM and want diagrams regenerated on every schema change
- you want zero-effort ERDs checked into your repo as documentation
- you prefer text-based Mermaid output that needs no browser or Chromium
When to avoid
- your project does not use Prisma
- you need diagrams of a live database rather than a Prisma schema
- you need highly customized diagram layouts beyond Mermaid themes
Facets
plugin · maturity active
documentation data-visualization plugin-system databases developer-tools documentation web-development cli cross-platform prisma er-diagram mermaid schema-visualization code-generation nodejs
3 sources
- readme: https://github.com/keonik/prisma-erd-generator · fetched 2026-08-28 · 56cd805c33a3
- homepage: https://www.npmjs.com/package/prisma-erd-generator · fetched 2026-08-29 · cb418ac38996
- registry_npm: https://registry.npmjs.org/prisma-erd-generator · fetched 2026-08-29 · e8330f827886
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| keonik/prisma-erd-generator | main | 99 |
For agents
markdown · JSON · MCP: product_card(name="keonik/prisma-erd-generator")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem