Skip to content

Latest commit

 

History

History
11 lines (8 loc) · 319 Bytes

README.md

File metadata and controls

11 lines (8 loc) · 319 Bytes

@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