Skip to content
JS
Package

idb-opfs

Replace navigator.storage.getDirectory() with a IndexedBD-backed OPFS implementation. Based on opfs-mock.

v0.4.0MITESM onlyTypes: BundledTesting
$ npm install idb-opfs

Key numbers

As of 25 Sept 2026
Weekly downloads
1.5k
- over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
1
Direct, from package.json
Last release
-
v0.4.0
GitHub stars
0
0 forks
Open issues / PRs
0 / 0
Contributors
-
Commits, last 52 weeks
33

Downloads

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

1,477 downloads last week, 12,307 in the last month. No 52-week series has been fetched yet.

Releases, last 12 months
-
Latest version
0.4.0
First published
-
Last push to GitHub
8 Jul 202678 days before the snapshot
Repository archived
No
Open issues
0
Open pull requests
0
Commits, last 52 weeks
33
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)
38 kB
Dependencies (1)
idb
npm install idb-opfs
  • jsDelivrhttps://cdn.jsdelivr.net/npm/idb-opfs@0.4.0/
  • unpkghttps://unpkg.com/idb-opfs@0.4.0/
  • esm.shhttps://esm.sh/idb-opfs@0.4.0
PackageWeekly downloadsGzipLast releaseModuleComparison
@vitest/mocker71.9m-9 days agoESM only-
jest-localstorage-mock281k-3 years agoESM + CommonJS-
vitest-localstorage-mock61k-2 years agoESM only-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

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