{"library":"tiny-fifo-cache","type":"library","category":null,"description":"Minimalistic FIFO (First-In-First-Out) in-memory cache for Node.js, v1.0.1 (last released 2015; no updates since). Provides simple put and get operations with automatic eviction of oldest items when the cache reaches a user-defined maximum size. No dependencies, no TypeScript types, relies on CommonJS. Unlike more feature-rich caches (e.g., node-cache, lru-cache), this is a single-purpose FIFO cache with no TTL, no events, and no serialization.","language":"javascript","status":"abandoned","version":"1.0.1","tags":["javascript","tiny-fifo-cache","fifo","cache"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install tiny-fifo-cache","imports":["const FIFOCache = require('tiny-fifo-cache');","import FIFOCache from 'tiny-fifo-cache';","cache.put(key, value);","const val = cache.get(key);"]},{"cmd":"yarn add tiny-fifo-cache","imports":[]},{"cmd":"pnpm add tiny-fifo-cache","imports":[]}],"homepage":"https://github.com/ahume/tiny-fifo-cache","github":"https://github.com/ahume/tiny-fifo-cache","docs":null,"changelog":null,"pypi":null,"npm":"tiny-fifo-cache","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}