node-localcache

JSON →
library 0.1.4 ·javascript
verified Jun 7, 2026

A simple Node.js module that mimics the LocalStorage API, persisting data to a JSON file between application launches. Version 0.1.4 is the latest stable release. The library aggregates write operations and flushes to disk once per second, ensuring data is saved on process exit. It supports optional in-memory-only mode (without file caching). Differentiator: lightweight, no external dependencies, and familiar API for developers coming from browser LocalStorage.