mock-storage
JSON →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.
Resources
packagemock-storage ↗