feather-cache v1.3.1 is a lightweight pluggable key-value cache supporting multiple storage backends (in-memory, MongoDB, IndexedDB). Released under MIT license with low release cadence (last update ~2019). It differentiates from simpler caches like lru-cache by allowing custom drivers for persistent storage. Built-in TypeScript types. The in-memory driver is for convenience; for serious in-memory caching, lru-cache is recommended. Supports async get/set/delete with optional TTL per key.
npm install feather-cacheNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Demonstrates in-memory cache with set, get, fetch, and delete operations.
Use lru-cache if you need a robust in-memory cache.
Consider alternatives like lru-cache instead.
Use `cache.get(key)` if you only need the value.
Change to: import { FeatherCache } from 'feather-cache'Ensure you are using: import { FeatherCache } from 'feather-cache'No dependency data recorded yet.