cacache

JSON →
library 21.0.0 ·javascript
verified Jun 7, 2026

cacache is a Node.js library for managing local key and content address caches. It is fast, fault-tolerant, cross-platform, and guarantees no corrupted data even if cache files are manipulated. Current stable version is 21.0.0 (requires Node ^22.22.2 || ^24.15.0 || >=26.0.0). It supports Subresource Integrity, automatic deduplication, streaming, and concurrency without locks. Used as npm's local cache but can be used standalone. Differentiators include performance, fault tolerance, and multi-hash support.