A resource control cache layer, based on carriers and resource-intensive policies
npm install @biscuitland/cachesh-session
npm install @biscuitland/cache
`
Example (Basic)
`ts
import { Cache, MemoryCacheAdapter } from '@biscuitland/cache';
const bootstrap = async () => {
const cache = new Cache({
adapter: new MemoryCacheAdapter(),
});
// You can listen to the raw biscuit event
cache.start();
};
bootstrap();
``