memorystorage

JSON →
library 0.12.0 ·javascript
verified Jun 7, 2026

MemoryStorage is a JavaScript library (v0.12.0) that provides an in-memory implementation of the Web Storage API (localStorage/sessionStorage). It serves as a drop-in replacement for environments where the native Web Storage API is unavailable, such as older browsers or server-side Node.js. The library supports both isolated (namespaced) and shared storage instances, follows the W3C specification, and is distributed as a UMD module compatible with CommonJS, AMD, and ES modules. It is lightweight (~2KB minified), has no dependencies, and is maintained by the Download organization on GitHub.