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

Simple and extensible caching module supporting decorators

Usage no npm install needed!

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

README

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

Redis Storage module for node-ts-cache

import { Cache, ExpirationStrategy } from "@hokify/node-ts-cache";
import RedisStorage from 'node-ts-cache-redis-storage';

const myStrategy = new ExpirationStrategy(new RedisStorage());