1.3.1 • Published 4 years ago

prisma-viewer v1.3.1

Weekly downloads
1
License
ISC
Repository
github
Last release
4 years ago

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]