prisma-extension-redis-cache
TypeScript icon, indicating that this package has built-in type declarations

0.0.1 • Public • Published

Prisma Client Extension starter repository

Use this template to bootstrap creating your Prisma Client extension.

Client extensions provide a powerful way to add functionality to Prisma Client in a type-safe manner. You can use them to create simple and flexible solutions that are not natively supported by Prisma.

If you would like to learn more, refer to the Prisma docs to learn more information.

Get started

Click the Use this template button and provide details for your Client extension

Install the dependencies:

npm install

Build the extension:

npm run build

Set up the example app:

cd example
npm install
npx prisma db push

Test the extension in the example app:

npm run dev

Evolve the extension

The code for the extension is located in the index.ts file. Feel free to update it before publishing your Client extension to npm.

Learn more

/prisma-extension-redis-cache/

    Package Sidebar

    Install

    npm i prisma-extension-redis-cache

    Weekly Downloads

    16

    Version

    0.0.1

    License

    none

    Unpacked Size

    10.4 kB

    Total Files

    13

    Last publish

    Collaborators

    • tarouca