Neutrinos Peludos Magnéticos

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

    2.0.0 • 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

    Install

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

    DownloadsWeekly Downloads

    34

    Version

    2.0.0

    License

    MIT

    Unpacked Size

    5.89 kB

    Total Files

    9

    Last publish

    Collaborators

    • hokify-user