{"library":"nanolru","type":"library","category":null,"description":"A simple O(1) LRU cache for Node.js, version 1.0.0 (stable). Forked from 'lru' to remove the dependency on 'events', providing a minimal, zero-dependency implementation. Supports set, get, peek, remove, and clear operations with configurable max size and optional max age for automatic eviction. Suitable for scenarios requiring a lightweight, fast LRU cache without external dependencies.","language":"javascript","status":"active","version":"1.0.0","tags":["javascript"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install nanolru","imports":["const LRU = require('nanolru')","const LRU = require('nanolru')","const cache = new LRU(100)"]},{"cmd":"yarn add nanolru","imports":[]},{"cmd":"pnpm add nanolru","imports":[]}],"homepage":"http://github.com/s3ththompson/nanolru","github":"https://github.com/s3ththompson/nanolru","docs":null,"changelog":null,"pypi":null,"npm":"nanolru","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}