@hokify/node-ts-cache-node-cache-storage
v2.0.1
Published
Simple and extensible caching module supporting decorators
Downloads
528
Maintainers
Readme
@hokify/node-ts-cache-node-cache-storage
Node-Cache Storage module for node-ts-cache
wrapper for node-cache
import { Cache, ExpirationStrategy } from "@hokify/node-ts-cache";
import NodeCacheStorage from 'node-ts-cache-node-cache-storage';
const myStrategy = new ExpirationStrategy(new NodeCacheStorage());