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

Simple and extensible caching module supporting decorators

Usage no npm install needed!

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

README

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