For use with Prisma Datamodels
npm i -g prisma-viewer
canary
Prisma Viewer ಠ_ಠ
Usage
$ pv [path]
Options
-h, --help Displays this help message
Examples
$ pv
$ pv ./schema.prisma
When viewing the schema/datamodel:
- Press the
a
key to change the layout - Use a
scroll wheel
tozoom in/out
Click and drag
topan
npm run dev [path/to/datamodel]