Package Exports
- @prismatools/console
- @prismatools/console/app.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@prismatools/console) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
prisma-console
Run Prisma Queries in a REPL style console. Heavily inspired by the Rails Console
Screenshot

Usage
- Install dependencies
npm i pretty-repl- Copy the code in
app.jsto a desired file in your exsisting project - [OPTIONAL] Configure the prisma client in your own way
- Add a script in your
package.jsonfile.- Remember to use the
--experimental-repl-awaitflag to supportawaitsyntax in the REPL console - Dont forget to correctly set the file in place of
./app.js
- Remember to use the
"main": "app.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
+ "console": "node --experimental-repl-await ./app.js"
},
"author": "Kinjal Raykarmakar",- Run the console!
npm run consoleForget Prisma Studio! 🤣
