@hokify/node-ts-cache-redisio-storage

Simple and extensible caching module supporting decorators

Usage no npm install needed!

<script type="module">
  import hokifyNodeTsCacheRedisioStorage from 'https://cdn.skypack.dev/@hokify/node-ts-cache-redisio-storage';
</script>

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