Skip to content
JS
Package

mock-local-storage

Mock localStorage for headless unit tests

v1.1.24, 17 May 2023MITESM + CommonJSTypes: NoneTesting
$ npm install mock-local-storage

Key numbers

As of 25 Sept 2026
Weekly downloads
49.6k
-15% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
2
Direct, from package.json
Last release
3 years ago
v1.1.24
GitHub stars
-
Open issues / PRs
- / -
Contributors
-
Commits, last 52 weeks
-

Downloads

Last week 2026-09-15 to 2026-09-21
025k50k75k100kSept 2025Mar 2026Sept 2026High 93.6k (10 Mar 2026)Low 33.2k (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

49,643 downloads last week, 235,071 in the last month. The 12-month change of -15% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
-
Latest version
1.1.24, 17 May 20233 years ago
First published
-
Last push to GitHub
-
Repository archived
-
Open issues
-
Open pull requests
-
Commits, last 52 weeks
-
Dependents on npm
28

Major versions

-

Recent releases

-

Module format
ESM + CommonJSFrom package.json type, main and exports fields
TypeScript types
None
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
20 kB
Dependencies (2)
globalcore-js
npm install mock-local-storage
  • jsDelivrhttps://cdn.jsdelivr.net/npm/mock-local-storage@1.1.24/
  • unpkghttps://unpkg.com/mock-local-storage@1.1.24/
  • esm.shhttps://esm.sh/mock-local-storage@1.1.24
PackageWeekly downloadsGzipLast releaseModuleComparison
jest-localstorage-mock281k-3 years agoESM + CommonJS-
vitest-localstorage-mock61k-2 years agoESM only-
Sources: npm registry, npm downloads API. Data fetched 25 Sept 2026.

Indexability: Not indexed (discovery only): GitHub data not fetched yet.