Installation
Install the core package and a parser for your ORM. That's all you need.
1. Install the core package
The core package provides the Express middleware, the HTML renderer, and the embedded visualizer bundle.
npm install @picadeck/core2. Install a parser for your ORM
Each parser is a separate package so you only install what you need. Pick the one that matches your ORM:
| ORM / Source | Install command |
|---|---|
| Mongoose | npm install @picadeck/mongoose-parser |
| TypeORM | npm install @picadeck/typeorm-parser |
| Prisma | npm install @picadeck/prisma-parser |
| Sequelize | npm install @picadeck/sequelize-parser |
| Drizzle | npm install @picadeck/drizzle-parser |
| SQL (raw DDL) | npm install @picadeck/sql-parser |
3. Framework-specific packages (optional)
If you use NestJS or Next.js, install the corresponding wrapper for tighter integration:
# For NestJS
npm install @picadeck/nestjs
# For Next.js
npm install @picadeck/nextjs