Skip to content

williamluke4/prisma-viewer

Repository files navigation

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]

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Sponsor this project

Packages

No packages published