Skip to content

Latest commit

 

History

History
12 lines (8 loc) · 365 Bytes

README.md

File metadata and controls

12 lines (8 loc) · 365 Bytes

@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());