Universal database schema visualizer that takes a schema file or directory and generates an interactive ER diagram in the browser with pan, zoom, and live reload. Currently at version 0.3.3, released monthly-ish. Supports Prisma, Laravel migrations, TypeORM, Drizzle ORM, JSON, and live PostgreSQL/MySQL introspection. Key differentiator: auto-layout based on FK-graph BFS, Figma-style select/edit modes, drag-and-drop persistence via share files, and framework detection with logos in the toolbar. Works as a CLI tool (global install) and runs a local server. No SaaS required.
npm install schema-vizNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Launches an interactive ER diagram for a Prisma schema file, auto-opens browser.
Upgrade schema-viz to version 0.3.2 or later.
Specify --parser=prisma|laravel|typeorm|drizzle|json explicitly.
Use --autoopen instead of --auto-open.
Test connection with psql or mysql client before using --url.
Run 'npm install -g schema-viz' or use 'npx schema-viz' with an explicit version (e.g., npx schema-viz@0.3.3).
Specify --parser flag with the correct parser ID (e.g., --parser=laravel for Laravel migrations). Ensure files have expected extensions (.prisma, .json, .entity.ts, etc.).
Use --port flag to choose a different port (e.g., --port=8080).
No dependency data recorded yet.