Skip to content

Latest commit

 

History

History
53 lines (39 loc) · 1.11 KB

README.md

File metadata and controls

53 lines (39 loc) · 1.11 KB

Prisma Viewer

GitHub last commit

🐉 Here be dragons!!

For use with Prisma Datamodels

Installation

  npm i -g prisma-viewer

canary

Usage CLI

    Prisma Viewer   ಠ_ಠ

    Usage
      $ pv [path]

    Options
      -h, --help       Displays this help message
    Examples
      $ pv
      $ pv ./schema.prisma

Usage Playground

When viewing the schema/datamodel:

  • Press the a key to change the layout
  • Use a scroll wheel to zoom in/out
  • Click and drag to pan

Development

npm run dev [path/to/datamodel]