read-cache is a small Node.js utility that reads a file and caches its entire contents until the file is modified. It provides async and synchronous functions to get the contents, a method to fetch cached content or null, and a way to clear the cache.
Project status
- The repository appears actively maintained, with recent commits/updates in August 2026, the latest being on 2026-08-19 (about 8 days before today).
- The apparent update cadence is currently tight, with v1.0.2 and v1.0.1 both on 2026-08-19 (hours apart), though there was a very long historical gap before v1.0.1, as the prior tagged version shown is from 2016.
AI summary generated
Recent updates
v1.0.2
v1.0.2 is a patch release that removes the external `pify` dependency and replaces it with inline Promise wrappers around Node.js `fs` methods. The release notes state the public API and behavior are unchanged, and that installs now include one fewer dependency.
v1.0.1
v1.0.1 focuses on build and test infrastructure updates rather than runtime product changes. It refreshes CI and release workflows, improves test coverage and reliability, and replaces the AVA test framework with a minimal test runner.
v1.0.0
This release is labeled v1.0.0, but no release notes were provided by the publisher. As a result, there is no documented information here about new functionality, fixes, breaking changes, or migration steps.