Prisma Ecosystem

Explore the wide variety of tools created by our amazing community.
Submit your package

Packages to supercharge your developement with Prisma

From custom generators, to middleware, to CLIs — these packages will improve your life when working with Prisma.

Filter by:

generator

prisma-dbml-generator

Transforms the Prisma schema into Database Markup Language (DBML) which allows for an easy visual representation

generator
prisma-docs-generator

Generates an individual API reference for Prisma

generator
prisma-json-schema-generator

Transforms the Prisma schema in JSON schema

generator
typegraphql-prisma

Generates TypeGraphQL CRUD resolvers for Prisma models

generator
prisma-typegraphql-types-generator

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.

generator
prisma-nestjs-graphql

Generates object types, inputs, args, etc. from the Prisma schema file for usage with @nestjs/graphqlmodule

generator
prisma-appsync

Generates object types, inputs, args, etc. from the Prisma schema file for usage with @nestjs/graphqlmodule

generator
@vegardit/prisma-generator-nestjs-dto

Generates DTO and Entity classes with relation connect and createoptions for use with NestJS Resources and @nestjs/swagger

generator
prisma-erd-generator

Generates an entity relationship diagram

generator
prisma-class-generator

Generates classes from your Prisma Schema that can be used as DTO, Swagger Response, TypeGraphQL, and so on.

generator
prisma-joi-generator

Generate full Joi schemas from your Prisma schema.

generator
prisma-yup-generator

Generate full Yup schemas from your Prisma schema.

generator
prisma-class-validator-generator

Emit TypeScript models from your Prisma schema with class validator validations ready.

generator
prisma-zod-generator

Emit Zod schemas from your Prisma schema.

generator
prisma-trpc-generator

Emit fully implemented tRPC routers.

generator
prisma-json-server-generator

Emit a JSON file that can be run with json-server

generator
prisma-trpc-shield-generator

Emit a tRPC shield from your Prisma schema.

generator
create-prisma-generator

Everything you need to build your Prisma generator like an elite open-source maintainer

generator
prisma-mongo-json-schema-generator

A generator, which takes a Prisma 2 schema.prisma and generates a JSON Schema in flavor which MongoDB accepts

generator
prisma-util

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.

generator
prisma-nexus-api

Quickly turn your prisma schema into a api with easy to use configuration

generator
prisma-fabbrica

Generates function to define model factories.

generator
zod-prisma-types

zod-prisma-types is a generator for prisma that generates zod schemas from your prisma models. This includes schemas of models, enums, inputTypes, argTypes, filters and so on. It also provides options to write advanced zod validators directly in the prisma schema comments.

generator
prisma-json-types-generator

Allows you to define custom types/interfaces for Json types.

generator
prisma-generator-dart

Generate Dart classes from your prisma schema file. Includes from Json methods so that you can easily convert your backend requests to Dart classes. Supports nested objects, references and much more.

generator

middleware

prisma-redis-middleware

This is a Prisma middleware used for caching and storing of Prisma queries in Redis (uses an in-memory LRU cache as fallback storage).

middleware
prisma-cache-middleware

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.

middleware
@joindeed/prisma-auth

A declarative authorisation middleware that operates on Prisma model level (and not on GraphQL resolver level).

middleware
prisma-slug

A slugification middleware for Prisma. It generates slugs for your models by using other model attributes with logic that you can define.

middleware

other

zod-prisma

Creates Zod schemas from your Prisma models.

other
prisma-pothos-types

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.

other
adonis-prisma

This package provides you with Prisma Client Provider and Auth Provider for working with Prisma and Adonis.js

other
prisma-event-dispatcher

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.

other
platformatic-prisma

Generates migrations for your Platformatic DB using a Prisma schema

other
jest-prisma

Jest environment for Prisma integrated testing. It runs each test case in isolated transaction.

other
db-diff

A helper library built on top of the Prisma CLI for auto-generating and versioning customizable `up` and `down` migrations (compatible with Postgrator).

other
prisma-console

This package runs Prisma Queries in REPL style. Run queries directly on the console with autocomplete support. Heavily inspired by the Rails Console

other
prisma-import

Brings import statements to Prisma schemas via a refactored Language Server and Visual Studio Code extension.

other
@lamware/prisma

Properly memoize and manage PrismaClient in AWS Lambda Functions

other
prisma-editor

Visualize and edit Prisma schema.

other
zenstack

ZenStack is a toolkit for modeling data and access policies in full-stack development with Next.js and Typescript. It takes a schema-first approach to simplify the construction of CRUD services.

other
Bridg

Allows you to use Prisma on any JavaScript frontend

other