Generate Mermaid ERD diagrams and Markdown schema docs from MikroORM entities without a live database connection.
HEALTH ? 91 / Healthy
// readme
mikro-orm-markdown
mikro-orm-markdown is a MikroORM ERD generator that creates Mermaid ER diagrams and Markdown database schema documentation from your MikroORM entities.
Use the CLI or TypeScript API to document entity columns, relations, indexes, constraints, and JSDoc descriptions without connecting to a live database.
See the MikroORM ERD example output.
Agent users (Claude Code and other Agent Skills-compatible tools) can optionally use the Agent Skill at skills/mikro-orm-markdown/ to set up and troubleshoot this tool β it is not part of the npm package.
Heavily inspired by prisma-markdown by @samchon. Thank you for the great idea.
Features
- Mermaid ERD diagrams generated from MikroORM entity metadata
- Markdown schema documentation with per-entity column tables, actual DB column names, keys, nullability, descriptions, indexes, and constraints
- **JSDoc-driven grouping andβ¦