From custom generators, to middleware, to CLIs — these packages will improve your life when working with Prisma.
Caching using Prisma model. Controlled by clinet level. Flexible purging.
Stream any query. Fully typed, in and out. Clean and familiar API, with optional advanced features.
Cache model queries with cache-manager compatibility.
Adds support for paginating read queries.
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.
Quickly turn your prisma schema into a api with easy to use configuration
Generates function to define model factories.
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.
Allows you to define custom types/interfaces for Json types.
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.
Allows to project Prisma models to GraphQL via GraphQL Nexus
Auto generate input types (for use as args) and auto generate decoupled type-safe base files makes it easy to create customizable objects, queries and mutations for Pothos from Prisma schema. Optionally generate all crud at once from the base files.
Emit custom models from your Prisma schema, based on Prisma recommendations.
Generate CRUD resolvers from GraphQL schema with NestJS and Prisma.
Generates a bi-directional models graph for schema without strict relationship defined in the schema, works via a custom schema annotation.
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.
Prisma Middleware for caching results of Prisma Client queries.
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.
Generates migrations for your Platformatic DB using a Prisma schema
Jest environment for Prisma integrated testing. It runs each test case in isolated transaction.
A helper library built on top of the Prisma CLI for auto-generating and versioning customizable `up` and `down` migrations (compatible with Postgrator).
This package runs Prisma Queries in REPL style. Run queries directly on the console with autocomplete support. Heavily inspired by the Rails Console
Brings import statements to Prisma schemas via a refactored Language Server and Visual Studio Code extension.
Properly memoize and manage PrismaClient in AWS Lambda Functions
Visualize and edit Prisma schema.
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.
Allows you to use Prisma on any JavaScript frontend
A linter for Prisma schema files.
Create factories, that create objects with all necessary relations. Useful for testing and seeding.
Creates ready to run latest prisma generator. Together with pre-configured packages, and pluggable architecture, it creates project ready for prisma generator development
A safe schema change checker for Prisma.
The Prisma agent is an AI agent that automates the process of generating and updating your Prisma schema file based on your project's specifications.
Traxion is a TypeScript developer's toolkit, slashing boilerplate with its robust code generators. Dive into GraphQL with auto-generated NestJS resolvers and ensure fine-grained control using CASL for row-level permissions on top of Prisma ORM.