A lightweight package that generates an ERD from a prisma schema.
npm install prisma-erdshell
npm install -D prisma-erd
OR
yarn add -D prisma-erd
OR
pnpm add -D prisma-erd
`
Usage
Run a single command to create an HTML file containing a graph of your schema:
`shell
npx prisma-erd
OR
yarn exec prisma-erd
OR
pnpm exec prisma-erd
`
Example:
`shell
npx prisma-erd ./prisma/schema.prisma
`
Development Setup
1. Install packages via pnpm
`
pnpm i
`
2. Check package.json for scripts, such as pnpm build:install` to build and globally install the package on your machine