{"library":"fake-storage","type":"library","category":null,"description":"In-memory implementation of the Web Storage API (localStorage/sessionStorage) for testing and server-side environments. v2.1.0, stable and maintained. Lightweight with zero dependencies, mirrors the browser Storage interface exactly. Unlike other storage shims, this is purely memory-based with no persistence, making it ideal for unit tests. Ships as CommonJS only, no TypeScript definitions.","language":"javascript","status":"active","version":"2.1.0","tags":["javascript","storage"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install fake-storage","imports":["const FakeStorage = require('fake-storage')","import FakeStorage from 'fake-storage'","const store = new FakeStorage()"]},{"cmd":"yarn add fake-storage","imports":[]},{"cmd":"pnpm add fake-storage","imports":[]}],"homepage":"https://github.com/jacobbuck/fake-storage#readme","github":"git://github.com/jacobbuck/fake-storage","docs":null,"changelog":null,"pypi":null,"npm":"fake-storage","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}