Skip to content
JS
Package

opfs-mock

Mock all origin private file system APIs for your Jest or Vitest tests

v2.8.0MITESM onlyTypes: BundledTestingDOM and browser utilities
$ npm install opfs-mock

Key numbers

As of 25 Sept 2026
Weekly downloads
2.1k
+415% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
-
v2.8.0
GitHub stars
8
1 forks
Open issues / PRs
0 / 0
Contributors
-
Commits, last 52 weeks
19

Downloads

Last week 2026-09-15 to 2026-09-21
02k4k6k8kSept 2025Mar 2026Sept 2026High 7.1k (14 Jul 2026)Low 101 (2 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

2,094 downloads last week, 14,648 in the last month. The 12-month change of +415% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
-
Latest version
2.8.0
First published
-
Last push to GitHub
28 Jul 202658 days before the snapshot
Repository archived
No
Open issues
0
Open pull requests
0
Commits, last 52 weeks
19
Dependents on npm
-

Major versions

-

Recent releases

-

Module format
ESM onlyFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
>=20.0.0
Runtimes
-
Unpacked size (npm)
29 kB
Dependencies (0)
None
npm install opfs-mock
  • jsDelivrhttps://cdn.jsdelivr.net/npm/opfs-mock@2.8.0/
  • unpkghttps://unpkg.com/opfs-mock@2.8.0/
  • esm.shhttps://esm.sh/opfs-mock@2.8.0
PackageWeekly downloadsGzipLast releaseModuleComparison
jest-mock-vscode26k-1 month agoCommonJS-
testcafe147.4k-2 months agoCommonJS-
jest-localstorage-mock281k-3 years agoESM + CommonJS-
cypress-browser-permissions48.4k-4 years agoCommonJS-
ts-jest-mock26k-2 years agoESM + CommonJS-
html-dnd6.9k-7 years agoCommonJS-
mockingoose20.2k-7 months agoESM + CommonJS-
wiremock-captain55.6k-10 months agoCommonJS-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Not indexed (discovery only): downloads_week 2094 < 10000.