Preparing for system design interviews?  Try bugzed.com →

mock-storage

JSON →
library 1.1.0 ·javascript
verified Jun 7, 2026

A lightweight in-memory mock implementation of the Web Storage API (Storage interface) for testing. Version 1.1.0. Fully compliant with TypeScript's Storage interface, uses ES2015 Proxy and Map. Ideal for unit testing localStorage/sessionStorage in Node.js or browser environments without side effects. Differentiates from alternatives like jest-localstorage-mock by being pure TypeScript with a simple API.

total hits 8
actors 2 distinct systems
last hit 16d ago AhrefsBot
GPTBot
3
Humans
4

top countries 🇸🇬 Singapore · 🇺🇸 United States · 🇨🇦 Canada · 🇬🇧 United Kingdom