Socket
Socket
Sign inDemoInstall

prisma-repl

Package Overview
Dependencies
0
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    prisma-repl

REPL for Prisma databases


Version published
Maintainers
1
Created

Readme

Source

💛 You can help the author become a full-time open-source maintainer by sponsoring him on GitHub.


prisma-repl

npm version

A REPL for Prisma.

Install

npm i -g prisma-repl
# Or install locally
npm i -D prisma-repl

Usage

Make sure you're inside a valid Prisma project, i.e. the directory where you ran prisma init or other Prisma commands.

$ prisma-repl

The Prisma client instance is available as db:

CleanShot 2021-06-03 at 21 58 31@2x

After regenerating the Prisma client, type .reload in the REPL to reload it.

Running commands in the REPL

You can directly run commands in the REPL using sh tag:

running commands in the repl

For Prisma commands, you can use use the prisma shorthand.

License

MIT © EGOIST

FAQs

Last updated on 04 Jun 2021

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc