@hokify/node-ts-cache-redisio-storage
v2.0.1
Published
Simple and extensible caching module supporting decorators
Downloads
444
Maintainers
Readme
@hokify/node-ts-cache-rediusio-storage
RedisIO Storage module for node-ts-cache
import { Cache, ExpirationStrategy } from "@hokify/node-ts-cache";
import RedisIOStorage from 'node-ts-cache-redisio-storage';
const myStrategy = new ExpirationStrategy(new RedisIOStorage());
all timeout values are in SECONDS