ttl-file-cache
JSON →A Node.js disk-based cache module that writes cached items as files and manages automatic pruning of expired entries. Version 1.0.5 is the latest stable; it is a small utility with minimal dependencies (none notable). Key differentiator: it stores data on disk (file-based) with TTL expiry, automatically prunes expired items, and returns buffers with metadata (key, ttl, expires, parse method). It is useful for caching in environments with limited memory or when persistence across restarts is desired. The package supports both synchronous and asynchronous operations (getAll is async). It has not seen updates since 2022, suggesting maintenance mode.
Traffic · last 30 days stale · no recent hits
total hits 14
actors 3 distinct systems
last hit 17d ago AhrefsBot
top countries 🇺🇸 United States · 🇸🇬 Singapore · 🇪🇸 Spain · VN · 🇨🇦 Canada
Resources
packagettl-file-cache ↗