@hokify/node-ts-cache-lru-storage
TypeScript icon, indicating that this package has built-in type declarations

2.0.1 • Public • Published

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

LRU Storage module for node-ts-cache

wrapper for lru-cache

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

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

all timeout values are in SECONDS

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

    Package Sidebar

    Install

    npm i @hokify/node-ts-cache-lru-storage

    Weekly Downloads

    115

    Version

    2.0.1

    License

    MIT

    Unpacked Size

    5.78 kB

    Total Files

    9

    Last publish

    Collaborators

    • hokify-user