Simple Memory Storage

JSON →
library 1.0.0 ·javascript
verified Jun 7, 2026

A lightweight, zero-dependency in-memory storage implementation that mirrors the Web Storage API (localStorage/sessionStorage). Version 1.0.0 is the initial stable release, with no further updates since. It provides a simple JavaScript object-based store with methods: setItem, getItem, removeItem, clear, key, and length. Differentiates from localStorage by not persisting data, making it ideal for testing and ephemeral state in Node.js or browser environments. Includes TypeScript types.