Explore the wide variety of tools created by our amazing community.
From custom generators, to middleware, to CLIs — these packages will improve your life when working with Prisma.
Transforms the Prisma schema into Database Markup Language (DBML) which allows for an easy visual representation
Generates an individual API reference for Prisma
Transforms the Prisma schema in JSON schema
Generates TypeGraphQL CRUD resolvers for Prisma models
Generates TypeGraphQL class types and enums from your Prisma type definitions; the generated output can be edited without being overwritten by the next gen and has the ability to correct you when you mess up the types with your edits.
Generates object types, inputs, args, etc. from the Prisma schema file for usage with @nestjs/graphqlmodule
Generates object types, inputs, args, etc. from the Prisma schema file for usage with @nestjs/graphqlmodule
Generates DTO and Entity classes with relation connect and createoptions for use with NestJS Resources and @nestjs/swagger
Generates an entity relationship diagram
Generates classes from your Prisma Schema that can be used as DTO, Swagger Response, TypeGraphQL, and so on.
Generate full Joi schemas from your Prisma schema.
Generate full Yup schemas from your Prisma schema.
Emit TypeScript models from your Prisma schema with class validator validations ready.
Emit Zod schemas from your Prisma schema.
Emit fully implemented tRPC routers.
Emit a JSON file that can be run with json-server
Emit a tRPC shield from your Prisma schema.
Everything you need to build your Prisma generator like an elite open-source maintainer
A generator, which takes a Prisma 2 schema.prisma and generates a JSON Schema in flavor which MongoDB accepts
Merge multiple files, create model inheritance and abstraction and create cross-file relations. Additionally, generate schemas using code, configure your data source using YAML and XML and more.
This is a Prisma middleware used for caching and storing of Prisma queries in Redis (uses an in-memory LRU cache as fallback storage).
With this middleware you can cache your database queries into the Redis (one of the fastest in-memory databases for caching) and reduce your database queries.
A declarative authorisation middleware that operates on Prisma model level (and not on GraphQL resolver level).
A slugification middleware for Prisma. It generates slugs for your models by using other model attributes with logic that you can define.
Creates Zod schemas from your Prisma models.
Makes it easier to define Prisma-based object types, and helps solve n+1 queries for relations. It also has integrations for the Relay plugin to make defining nodes and connections easy and efficient.
This package provides you with Prisma Client Provider and Auth Provider for working with Prisma and Adonis.js
Dispatches several types of events while working with Prisma models. EventEmitter agnostic, and allows you to choose for what kind of models, actions and moment of lifecycle to emit the events, configure your data source using YAML and XML and more.