@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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 2.0.1
    66
    • latest

Version History

Package Sidebar

Install

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

Weekly Downloads

332

Version

2.0.1

License

MIT

Unpacked Size

5.78 kB

Total Files

9

Last publish

Collaborators

  • hokify-user