@prismakit/memory
v4.0.0
Published
In-memory CacheAdapter for @prismakit/core (tests and local dev)
Readme
@prismakit/memory
In-memory CacheAdapter for tests and local development without Redis.
pnpm add @prismakit/memoryimport { MemoryCacheAdapter } from '@prismakit/memory';
const cache = new MemoryCacheAdapter({ maxSize: 1000, defaultTtl: 300 });Pass cache to createRepository deps or PrismaKitModule.forRoot({ cache }).
License
Apache-2.0
