{"_id":"idb-opfs","_rev":"10-2b84b7c409bcd04145c07af503c4163d","name":"idb-opfs","dist-tags":{"latest":"0.4.0"},"versions":{"0.0.0":{"name":"idb-opfs","version":"0.0.0","keywords":[],"author":{"url":"https://www.npmjs.com/~gwennlbh","name":"gwennlbh"},"license":"UNLICENSED","_id":"idb-opfs@0.0.0","maintainers":[{"name":"gwennlbh","email":"gwenn.lebihan7@gmail.com"}],"dist":{"shasum":"2c10306e16cc3ccac3d1d4dff2eba376c2355002","tarball":"https://registry.npmjs.org/idb-opfs/-/idb-opfs-0.0.0.tgz","fileCount":2,"integrity":"sha512-8dFA/5pmH9JlxJNJChNzzCLT+t4OoTkxirMSatHSmhuUJDYvyOijrW/HXM7oz+9maglxRFEEF2O3NPI31puLww==","signatures":[{"sig":"MEUCIQChSmyLn3ACoa5QKDIQLV+NjVACJrQR1lKDvWqWo+jLZwIgPIgPDUANLIN9Ske7KhFSSfwoygjvapGXDeDEgS+IAwQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":268},"main":"index.js","private":false,"scripts":{},"_npmUser":{"name":"gwennlbh","email":"gwenn.lebihan7@gmail.com"},"_npmVersion":"11.17.0","description":"Placeholder for idb-opfs","directories":{},"_nodeVersion":"24.18.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/idb-opfs_0.0.0_1783526075458_0.23969453296601673","host":"s3://npm-registry-packages-npm-production"}},"0.1.0":{"name":"idb-opfs","version":"0.1.0","keywords":["vitest","jest","test","mock","opfs","storage","node","browser"],"license":"MIT","_id":"idb-opfs@0.1.0","maintainers":[{"name":"gwennlbh","email":"gwenn.lebihan7@gmail.com"}],"contributors":[{"name":"Gwenn Le Bihan","email":"gwenn.lebihan7@gmail.com"},{"name":"Jure Rotar","email":"hello@jurerotar.com"}],"homepage":"https://github.com/gwennlbh/idb-opfs#readme","bugs":{"url":"https://github.com/gwennlbh/idb-opfs/issues"},"dist":{"shasum":"77187a737e3b58c016f6e9a9846759a540c337a6","tarball":"https://registry.npmjs.org/idb-opfs/-/idb-opfs-0.1.0.tgz","fileCount":5,"integrity":"sha512-4pdQflswwnbl2H3W2/TV7FIIxgblR88KxzktRJAwh6hskrbjR1OBnwgmxgV7zksRo3ZeWwSeXYxZzSSyfGgNYQ==","signatures":[{"sig":"MEUCIQCBqWvucN4i/IbHk6r1bVaKXIH9JZ3NHyiGIZymHCYPIgIgdN4GvB/D6EJuy3cQf/mzT7pe0vQ6aqXqihbp7QI/Xf0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/idb-opfs@0.1.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":29673},"type":"module","types":"./dist/index.d.mts","module":"./dist/index.mjs","engines":{"node":">=20.0.0"},"exports":{"import":{"types":"./dist/index.d.mts","default":"./dist/index.mjs"},"module-sync":{"types":"./dist/index.d.mts","default":"./dist/index.mjs"}},"gitHead":"67265784d0d635b019979aef703ba221f89ca1a3","scripts":{"dev":"tsdown --watch","lint":"npx @biomejs/biome lint --fix","test":"npm run test:node && npm run test:happy-dom","build":"tsdown","format":"npx @biomejs/biome format --write","release":"npm publish --access public","test:node":"vitest --environment=node","lint:check":"npx @biomejs/biome lint","test:jsdom":"vitest --environment=jsdom","type-check":"tsgo","format:check":"npx @biomejs/biome format","prepublishOnly":"npm run build","test:happy-dom":"vitest --environment=happy-dom"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:f0992d5a-0548-44c1-baee-0aac414fdf4d"}},"repository":{"url":"git+https://github.com/gwennlbh/idb-opfs.git","type":"git"},"_npmVersion":"11.16.0","description":"Replace navigator.storage.getDirectory() with a IndexedBD-backed OPFS implementation. Based on opfs-mock.","directories":{},"_nodeVersion":"24.18.0","dependencies":{"idb":"^8.0.3"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jsdom":"29.1.1","tsdown":"0.22.0","vitest":"4.1.7","happy-dom":"20.9.0","typescript":"6.0.3","@web-std/file":"3.0.3","@biomejs/biome":"2.4.15","fake-indexeddb":"^6.2.5","@vitest/coverage-v8":"4.1.7","@typescript/native-preview":"7.0.0-dev.20260522.1"},"_npmOperationalInternal":{"tmp":"tmp/idb-opfs_0.1.0_1783526285148_0.5824012766251894","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"idb-opfs","version":"0.1.1","keywords":["vitest","jest","test","mock","opfs","storage","node","browser"],"license":"MIT","_id":"idb-opfs@0.1.1","maintainers":[{"name":"gwennlbh","email":"gwenn.lebihan7@gmail.com"}],"contributors":[{"name":"Gwenn Le Bihan","email":"gwenn.lebihan7@gmail.com"},{"name":"Jure Rotar","email":"hello@jurerotar.com"}],"homepage":"https://github.com/gwennlbh/idb-opfs#readme","bugs":{"url":"https://github.com/gwennlbh/idb-opfs/issues"},"dist":{"shasum":"57562110bf0fed9c56975da307be8a6f23efc481","tarball":"https://registry.npmjs.org/idb-opfs/-/idb-opfs-0.1.1.tgz","fileCount":5,"integrity":"sha512-babyLdZCYutG7OGjf84xTtYb1m61HOtDx5c0wnheVEFh/nDoguC+WOYlCkDRh2Uq7ijJPIFG4oq9+afLkmQZPA==","signatures":[{"sig":"MEUCIC88oSKgh220Rmv/GcU2vpRnsPJU5nr7nF5VCkiYiC6qAiEA9VOMYLT0sB/LUnQGd9J6Qt2C8Xmc55lYgDwaHTrkc18=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/idb-opfs@0.1.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":36811},"type":"module","types":"./dist/index.d.mts","module":"./dist/index.mjs","engines":{"node":">=20.0.0"},"exports":{"import":{"types":"./dist/index.d.mts","default":"./dist/index.mjs"},"module-sync":{"types":"./dist/index.d.mts","default":"./dist/index.mjs"}},"gitHead":"db3d4ca0ef948a1aa80ce699e6fbec6d0c8c1c1b","scripts":{"dev":"tsdown --watch","lint":"npx @biomejs/biome lint --fix","test":"npm run test:node && npm run test:happy-dom","build":"tsdown","format":"npx @biomejs/biome format --write","release":"npm publish --access public","test:node":"vitest --environment=node","lint:check":"npx @biomejs/biome lint","test:jsdom":"vitest --environment=jsdom","type-check":"tsgo","format:check":"npx @biomejs/biome format","prepublishOnly":"npm run build","test:happy-dom":"vitest --environment=happy-dom"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:f0992d5a-0548-44c1-baee-0aac414fdf4d"}},"repository":{"url":"git+https://github.com/gwennlbh/idb-opfs.git","type":"git"},"_npmVersion":"11.16.0","description":"Replace navigator.storage.getDirectory() with a IndexedBD-backed OPFS implementation. Based on opfs-mock.","directories":{},"_nodeVersion":"24.18.0","dependencies":{"idb":"^8.0.3"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jsdom":"29.1.1","tsdown":"0.22.0","vitest":"4.1.7","happy-dom":"20.9.0","typescript":"6.0.3","@web-std/file":"3.0.3","@biomejs/biome":"2.4.15","fake-indexeddb":"^6.2.5","@vitest/coverage-v8":"4.1.7","@typescript/native-preview":"7.0.0-dev.20260522.1"},"_npmOperationalInternal":{"tmp":"tmp/idb-opfs_0.1.1_1783527045686_0.09705278106956627","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"name":"idb-opfs","version":"0.1.2","keywords":["vitest","jest","test","mock","opfs","storage","node","browser"],"license":"MIT","_id":"idb-opfs@0.1.2","maintainers":[{"name":"gwennlbh","email":"gwenn.lebihan7@gmail.com"}],"contributors":[{"name":"Gwenn Le Bihan","email":"gwenn.lebihan7@gmail.com"},{"name":"Jure Rotar","email":"hello@jurerotar.com"}],"homepage":"https://github.com/gwennlbh/idb-opfs#readme","bugs":{"url":"https://github.com/gwennlbh/idb-opfs/issues"},"dist":{"shasum":"310ba5b0fddfa5ac5b3d22e071b284e63ac4be08","tarball":"https://registry.npmjs.org/idb-opfs/-/idb-opfs-0.1.2.tgz","fileCount":5,"integrity":"sha512-qVyviHShSwpWM+r+UsHI46jBTz7ZHuHIT1ujNWfcKvT/tVONIwpnOjtyiDJi6tzgELL+Dtfu5yDMN4BaAazY4Q==","signatures":[{"sig":"MEUCIQC7ch2KshzUMrUBdi68W3cYSLB6GXdhgLtB4/Lf5/0BDgIgTknLKUfM+8lV9WIdHHM3r9Isz3SpLpW7d3dk3JXcJwo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/idb-opfs@0.1.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":36830},"type":"module","types":"./dist/index.d.mts","module":"./dist/index.mjs","engines":{"node":">=20.0.0"},"exports":{"import":{"types":"./dist/index.d.mts","default":"./dist/index.mjs"},"module-sync":{"types":"./dist/index.d.mts","default":"./dist/index.mjs"}},"gitHead":"cae6eb639cd6d9e35dcef3a96c3cf487790c205a","scripts":{"dev":"tsdown --watch","lint":"npx @biomejs/biome lint --fix","test":"npm run test:node && npm run test:happy-dom","build":"tsdown","format":"npx @biomejs/biome format --write","release":"npm publish --access public","test:node":"vitest --environment=node","lint:check":"npx @biomejs/biome lint","test:jsdom":"vitest --environment=jsdom","type-check":"tsgo","format:check":"npx @biomejs/biome format","prepublishOnly":"npm run build","test:happy-dom":"vitest --environment=happy-dom"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:f0992d5a-0548-44c1-baee-0aac414fdf4d"}},"repository":{"url":"git+https://github.com/gwennlbh/idb-opfs.git","type":"git"},"_npmVersion":"11.16.0","description":"Replace navigator.storage.getDirectory() with a IndexedBD-backed OPFS implementation. Based on opfs-mock.","directories":{},"_nodeVersion":"24.18.0","dependencies":{"idb":"^8.0.3"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jsdom":"29.1.1","tsdown":"0.22.0","vitest":"4.1.7","happy-dom":"20.9.0","typescript":"6.0.3","@web-std/file":"3.0.3","@biomejs/biome":"2.4.15","fake-indexeddb":"^6.2.5","@vitest/coverage-v8":"4.1.7","@typescript/native-preview":"7.0.0-dev.20260522.1"},"_npmOperationalInternal":{"tmp":"tmp/idb-opfs_0.1.2_1783527444049_0.2625549950980861","host":"s3://npm-registry-packages-npm-production"}},"0.1.3":{"name":"idb-opfs","version":"0.1.3","keywords":["vitest","jest","test","mock","opfs","storage","node","browser"],"license":"MIT","_id":"idb-opfs@0.1.3","maintainers":[{"name":"gwennlbh","email":"gwenn.lebihan7@gmail.com"}],"contributors":[{"name":"Gwenn Le Bihan","email":"gwenn.lebihan7@gmail.com"},{"name":"Jure Rotar","email":"hello@jurerotar.com"}],"homepage":"https://github.com/gwennlbh/idb-opfs#readme","bugs":{"url":"https://github.com/gwennlbh/idb-opfs/issues"},"dist":{"shasum":"6fe002019350501c8b328398cd8a94ff460585a6","tarball":"https://registry.npmjs.org/idb-opfs/-/idb-opfs-0.1.3.tgz","fileCount":5,"integrity":"sha512-O1WUhzuAZsDDjwoBcQoszr9/ooIGuCSfoKN4+cMyeOJimeXthOOIhtmurDBpWraaWqLJTDEE8pqtEok8SIDRQw==","signatures":[{"sig":"MEQCIH/sbqH+26lpCShNmdocQnHw32Ix3FZbrqeQGo/siv2BAiAC1lJ54oNbiFf/3ui44O7vsjEvYIcN3WBOtAdVUmk81Q==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/idb-opfs@0.1.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":37166},"type":"module","types":"./dist/index.d.mts","module":"./dist/index.mjs","engines":{"node":">=20.0.0"},"exports":{"import":{"types":"./dist/index.d.mts","default":"./dist/index.mjs"},"module-sync":{"types":"./dist/index.d.mts","default":"./dist/index.mjs"}},"gitHead":"c32a55403a10849dc06b17eafee59b7aaf2198bc","scripts":{"dev":"tsdown --watch","lint":"npx @biomejs/biome lint --fix","test":"npm run test:node && npm run test:happy-dom","build":"tsdown","format":"npx @biomejs/biome format --write","release":"npm publish --access public","test:node":"vitest --environment=node","lint:check":"npx @biomejs/biome lint","test:jsdom":"vitest --environment=jsdom","type-check":"tsgo","format:check":"npx @biomejs/biome format","prepublishOnly":"npm run build","test:happy-dom":"vitest --environment=happy-dom"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:f0992d5a-0548-44c1-baee-0aac414fdf4d"}},"repository":{"url":"git+https://github.com/gwennlbh/idb-opfs.git","type":"git"},"_npmVersion":"11.16.0","description":"Replace navigator.storage.getDirectory() with a IndexedBD-backed OPFS implementation. Based on opfs-mock.","directories":{},"_nodeVersion":"24.18.0","dependencies":{"idb":"^8.0.3"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jsdom":"29.1.1","tsdown":"0.22.0","vitest":"4.1.7","happy-dom":"20.9.0","typescript":"6.0.3","@web-std/file":"3.0.3","@biomejs/biome":"2.4.15","fake-indexeddb":"^6.2.5","@vitest/coverage-v8":"4.1.7","@typescript/native-preview":"7.0.0-dev.20260522.1"},"_npmOperationalInternal":{"tmp":"tmp/idb-opfs_0.1.3_1783535611565_0.5391411521708256","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"name":"idb-opfs","version":"0.2.0","keywords":["vitest","jest","test","mock","opfs","storage","node","browser"],"license":"MIT","_id":"idb-opfs@0.2.0","maintainers":[{"name":"gwennlbh","email":"gwenn.lebihan7@gmail.com"}],"contributors":[{"name":"Gwenn Le Bihan","email":"gwenn.lebihan7@gmail.com"},{"name":"Jure Rotar","email":"hello@jurerotar.com"}],"homepage":"https://github.com/gwennlbh/idb-opfs#readme","bugs":{"url":"https://github.com/gwennlbh/idb-opfs/issues"},"dist":{"shasum":"ccf7dfdc84611c07599071f936f8f3b02e7d4124","tarball":"https://registry.npmjs.org/idb-opfs/-/idb-opfs-0.2.0.tgz","fileCount":5,"integrity":"sha512-QmEGAIpb5u0iZM+BZkUy/Ca1egWso/E47be4DplH2j1kzCuU/0UDy/rCxSQUwkSf9Tab7AVkmsAerBih1empxA==","signatures":[{"sig":"MEQCIF0qyPME0w9+8MTplrJFs1ioqzWnqnr5xXYZvoEhkH2QAiAzBpVpVAyTnL84jt4IZgw9zzcAMNqr4q6zgiVNFVAC7Q==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/idb-opfs@0.2.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":37705},"type":"module","types":"./dist/index.d.mts","module":"./dist/index.mjs","engines":{"node":">=20.0.0"},"exports":{"import":{"types":"./dist/index.d.mts","default":"./dist/index.mjs"},"module-sync":{"types":"./dist/index.d.mts","default":"./dist/index.mjs"}},"gitHead":"c231a6432523ca6c322ae6b1d18962f5f00c7958","scripts":{"dev":"tsdown --watch","lint":"npx @biomejs/biome lint --fix","test":"npm run test:node && npm run test:happy-dom","build":"tsdown","format":"npx @biomejs/biome format --write","release":"npm publish --access public","test:node":"vitest --environment=node","lint:check":"npx @biomejs/biome lint","test:jsdom":"vitest --environment=jsdom","type-check":"tsgo","format:check":"npx @biomejs/biome format","prepublishOnly":"npm run build","test:happy-dom":"vitest --environment=happy-dom"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:f0992d5a-0548-44c1-baee-0aac414fdf4d"}},"repository":{"url":"git+https://github.com/gwennlbh/idb-opfs.git","type":"git"},"_npmVersion":"11.16.0","description":"Replace navigator.storage.getDirectory() with a IndexedBD-backed OPFS implementation. Based on opfs-mock.","directories":{},"_nodeVersion":"24.18.0","dependencies":{"idb":"^8.0.3"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jsdom":"29.1.1","tsdown":"0.22.0","vitest":"4.1.7","happy-dom":"20.9.0","typescript":"6.0.3","@web-std/file":"3.0.3","@biomejs/biome":"2.4.15","fake-indexeddb":"^6.2.5","@vitest/coverage-v8":"4.1.7","@typescript/native-preview":"7.0.0-dev.20260522.1"},"_npmOperationalInternal":{"tmp":"tmp/idb-opfs_0.2.0_1783537714625_0.21715166487640158","host":"s3://npm-registry-packages-npm-production"}},"0.3.0":{"name":"idb-opfs","version":"0.3.0","keywords":["vitest","jest","test","mock","opfs","storage","node","browser"],"license":"MIT","_id":"idb-opfs@0.3.0","maintainers":[{"name":"gwennlbh","email":"gwenn.lebihan7@gmail.com"}],"contributors":[{"name":"Gwenn Le Bihan","email":"gwenn.lebihan7@gmail.com"},{"name":"Jure Rotar","email":"hello@jurerotar.com"}],"homepage":"https://github.com/gwennlbh/idb-opfs#readme","bugs":{"url":"https://github.com/gwennlbh/idb-opfs/issues"},"dist":{"shasum":"64977a407a25a9ae3e5e0196a4585345a58cee8f","tarball":"https://registry.npmjs.org/idb-opfs/-/idb-opfs-0.3.0.tgz","fileCount":5,"integrity":"sha512-/vFl2f1l11uuLQtKu+nnU8uovQKdKba6Pyex/ohPw2o4yGEc4CCIfZGakC9wnIunrUIp88Er7ZaqHrBRwFocLg==","signatures":[{"sig":"MEUCIQCeTVnSgev7sGtWyLFmA/gRHf4QMokifhZXMpgxfEA8VgIgRTarfmA+YGpFneQHPRSYXL1P31mBJCAM2lqXNeWyEXw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/idb-opfs@0.3.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":38000},"type":"module","types":"./dist/index.d.mts","module":"./dist/index.mjs","engines":{"node":">=20.0.0"},"exports":{"import":{"types":"./dist/index.d.mts","default":"./dist/index.mjs"},"module-sync":{"types":"./dist/index.d.mts","default":"./dist/index.mjs"}},"gitHead":"3ede45ca178c341a0a2473240a8ab366c8f8f057","scripts":{"dev":"tsdown --watch","lint":"npx @biomejs/biome lint --fix","test":"npm run test:node && npm run test:happy-dom","build":"tsdown","format":"npx @biomejs/biome format --write","release":"npm publish --access public","test:node":"vitest --environment=node","lint:check":"npx @biomejs/biome lint","test:jsdom":"vitest --environment=jsdom","type-check":"tsgo","format:check":"npx @biomejs/biome format","prepublishOnly":"npm run build","test:happy-dom":"vitest --environment=happy-dom"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:f0992d5a-0548-44c1-baee-0aac414fdf4d"}},"repository":{"url":"git+https://github.com/gwennlbh/idb-opfs.git","type":"git"},"_npmVersion":"11.16.0","description":"Replace navigator.storage.getDirectory() with a IndexedBD-backed OPFS implementation. Based on opfs-mock.","directories":{},"_nodeVersion":"24.18.0","dependencies":{"idb":"^8.0.3"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jsdom":"29.1.1","tsdown":"0.22.0","vitest":"4.1.7","happy-dom":"20.9.0","typescript":"6.0.3","@web-std/file":"3.0.3","@biomejs/biome":"2.4.15","fake-indexeddb":"^6.2.5","@vitest/coverage-v8":"4.1.7","@typescript/native-preview":"7.0.0-dev.20260522.1"},"_npmOperationalInternal":{"tmp":"tmp/idb-opfs_0.3.0_1783538563789_0.3534397232079154","host":"s3://npm-registry-packages-npm-production"}},"0.3.1":{"name":"idb-opfs","version":"0.3.1","keywords":["vitest","jest","test","mock","opfs","storage","node","browser"],"license":"MIT","_id":"idb-opfs@0.3.1","maintainers":[{"name":"gwennlbh","email":"gwenn.lebihan7@gmail.com"}],"contributors":[{"name":"Gwenn Le Bihan","email":"gwenn.lebihan7@gmail.com"},{"name":"Jure Rotar","email":"hello@jurerotar.com"}],"homepage":"https://github.com/gwennlbh/idb-opfs#readme","bugs":{"url":"https://github.com/gwennlbh/idb-opfs/issues"},"dist":{"shasum":"513563945c8e6cfb7bab75d59bfbd099815965f5","tarball":"https://registry.npmjs.org/idb-opfs/-/idb-opfs-0.3.1.tgz","fileCount":5,"integrity":"sha512-DXXGUt5G0iTbFMajAMMbYg1s1zxxJrXgQGwBirycSQY0ANwZxSFw/1Vgz/nNhErPp1IKa8XHTgFYQqzfwzIKeg==","signatures":[{"sig":"MEUCIQDPt2G7kPGDOJ2RYJ9jaqyTjrOnr16V/JE/1nJ8b5Fd6AIgMpeCYb0B0AcPjdUWLxdFzKzm8ZRcX/P6ausYKygrnyI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/idb-opfs@0.3.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":38080},"type":"module","types":"./dist/index.d.mts","module":"./dist/index.mjs","engines":{"node":">=20.0.0"},"exports":{"import":{"types":"./dist/index.d.mts","default":"./dist/index.mjs"},"module-sync":{"types":"./dist/index.d.mts","default":"./dist/index.mjs"}},"gitHead":"9ecdd00f3f817dc5ac96ebfb95afec2e018548f9","scripts":{"dev":"tsdown --watch","lint":"npx @biomejs/biome lint --fix","test":"npm run test:node && npm run test:happy-dom","build":"tsdown","format":"npx @biomejs/biome format --write","release":"npm publish --access public","test:node":"vitest --environment=node","lint:check":"npx @biomejs/biome lint","test:jsdom":"vitest --environment=jsdom","type-check":"tsgo","format:check":"npx @biomejs/biome format","prepublishOnly":"npm run build","test:happy-dom":"vitest --environment=happy-dom"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:f0992d5a-0548-44c1-baee-0aac414fdf4d"}},"repository":{"url":"git+https://github.com/gwennlbh/idb-opfs.git","type":"git"},"_npmVersion":"11.16.0","description":"Replace navigator.storage.getDirectory() with a IndexedBD-backed OPFS implementation. Based on opfs-mock.","directories":{},"_nodeVersion":"24.18.0","dependencies":{"idb":"^8.0.3"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jsdom":"29.1.1","tsdown":"0.22.0","vitest":"4.1.7","happy-dom":"20.9.0","typescript":"6.0.3","@web-std/file":"3.0.3","@biomejs/biome":"2.4.15","fake-indexeddb":"^6.2.5","@vitest/coverage-v8":"4.1.7","@typescript/native-preview":"7.0.0-dev.20260522.1"},"_npmOperationalInternal":{"tmp":"tmp/idb-opfs_0.3.1_1783539057464_0.3403424240395918","host":"s3://npm-registry-packages-npm-production"}},"0.3.2":{"name":"idb-opfs","version":"0.3.2","keywords":["vitest","jest","test","mock","opfs","storage","node","browser"],"license":"MIT","_id":"idb-opfs@0.3.2","maintainers":[{"name":"gwennlbh","email":"gwenn.lebihan7@gmail.com"}],"contributors":[{"name":"Gwenn Le Bihan","email":"gwenn.lebihan7@gmail.com"},{"name":"Jure Rotar","email":"hello@jurerotar.com"}],"homepage":"https://github.com/gwennlbh/idb-opfs#readme","bugs":{"url":"https://github.com/gwennlbh/idb-opfs/issues"},"dist":{"shasum":"eb359ed2f920cf65df5d4969a7cae5c41f7f1196","tarball":"https://registry.npmjs.org/idb-opfs/-/idb-opfs-0.3.2.tgz","fileCount":5,"integrity":"sha512-C15qdO3CqxPxgomhuqO46cogAAHVHzNq8ZItWq55FbCECCbKDF57EDjPjWiTgR9SueSbBBs9NJGqTv8OHTCINA==","signatures":[{"sig":"MEYCIQDt6+RQa8spPUrw5Y8d/H6gjgLkRDxfmjekPvuJV6Cn1gIhAKxYgLvrepKTssDG/tJNNpnrNIPqXAIsk8q+bihI0KxE","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/idb-opfs@0.3.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":38095},"type":"module","types":"./dist/index.d.mts","module":"./dist/index.mjs","engines":{"node":">=20.0.0"},"exports":{"import":{"types":"./dist/index.d.mts","default":"./dist/index.mjs"},"module-sync":{"types":"./dist/index.d.mts","default":"./dist/index.mjs"}},"gitHead":"d94a3a9f7b638748d495178da5f91ff19b739936","scripts":{"dev":"tsdown --watch","lint":"npx @biomejs/biome lint --fix","test":"npm run test:node && npm run test:happy-dom","build":"tsdown","format":"npx @biomejs/biome format --write","release":"npm publish --access public","test:node":"vitest --environment=node","lint:check":"npx @biomejs/biome lint","test:jsdom":"vitest --environment=jsdom","type-check":"tsgo","format:check":"npx @biomejs/biome format","prepublishOnly":"npm run build","test:happy-dom":"vitest --environment=happy-dom"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:f0992d5a-0548-44c1-baee-0aac414fdf4d"}},"repository":{"url":"git+https://github.com/gwennlbh/idb-opfs.git","type":"git"},"_npmVersion":"11.16.0","description":"Replace navigator.storage.getDirectory() with a IndexedBD-backed OPFS implementation. Based on opfs-mock.","directories":{},"_nodeVersion":"24.18.0","dependencies":{"idb":"^8.0.3"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jsdom":"29.1.1","tsdown":"0.22.0","vitest":"4.1.7","happy-dom":"20.9.0","typescript":"6.0.3","@web-std/file":"3.0.3","@biomejs/biome":"2.4.15","fake-indexeddb":"^6.2.5","@vitest/coverage-v8":"4.1.7","@typescript/native-preview":"7.0.0-dev.20260522.1"},"_npmOperationalInternal":{"tmp":"tmp/idb-opfs_0.3.2_1783539215586_0.2626987420938618","host":"s3://npm-registry-packages-npm-production"}},"0.4.0":{"name":"idb-opfs","version":"0.4.0","type":"module","description":"Replace navigator.storage.getDirectory() with a IndexedBD-backed OPFS implementation. Based on opfs-mock.","contributors":[{"name":"Gwenn Le Bihan","email":"gwenn.lebihan7@gmail.com"},{"name":"Jure Rotar","email":"hello@jurerotar.com"}],"license":"MIT","homepage":"https://github.com/gwennlbh/idb-opfs#readme","repository":{"type":"git","url":"git+https://github.com/gwennlbh/idb-opfs.git"},"bugs":{"url":"https://github.com/gwennlbh/idb-opfs/issues"},"keywords":["vitest","jest","test","mock","opfs","storage","node","browser"],"publishConfig":{"access":"public"},"module":"./dist/index.mjs","types":"./dist/index.d.mts","exports":{"module-sync":{"types":"./dist/index.d.mts","default":"./dist/index.mjs"},"import":{"types":"./dist/index.d.mts","default":"./dist/index.mjs"}},"engines":{"node":">=20.0.0"},"scripts":{"dev":"tsdown --watch","build":"tsdown","lint:check":"npx @biomejs/biome lint","lint":"npx @biomejs/biome lint --fix","format:check":"npx @biomejs/biome format","format":"npx @biomejs/biome format --write","type-check":"tsgo","test":"npm run test:node && npm run test:happy-dom","test:node":"vitest --environment=node","test:jsdom":"vitest --environment=jsdom","test:happy-dom":"vitest --environment=happy-dom","prepublishOnly":"npm run build","release":"npm publish --access public"},"devDependencies":{"@biomejs/biome":"2.4.15","@typescript/native-preview":"7.0.0-dev.20260522.1","@vitest/coverage-v8":"4.1.7","@web-std/file":"3.0.3","fake-indexeddb":"^6.2.5","happy-dom":"20.9.0","jsdom":"29.1.1","tsdown":"0.22.0","typescript":"6.0.3","vitest":"4.1.7"},"dependencies":{"idb":"^8.0.3"},"gitHead":"887240e177ab0080fb2d70be02457b9e24273afc","_id":"idb-opfs@0.4.0","_nodeVersion":"24.18.0","_npmVersion":"11.16.0","dist":{"integrity":"sha512-oQruwyWHjJZrdu2sbYb4qrRIwLwSxu25osE34RMVEtlwBTfyI3I52kFWnLb1Y2mvAHFPtAcKvB49zp+XZovinA==","shasum":"3c607a882c489af844a1fd97d5f6c5490804a59c","tarball":"https://registry.npmjs.org/idb-opfs/-/idb-opfs-0.4.0.tgz","fileCount":5,"unpackedSize":38403,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/idb-opfs@0.4.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIHx6AKqigP0vm49Xj/O8Jsrz0RX7Md9yQjNpb/4+j2hUAiEAz6fkYutQIjTOEm61Iwb4c4uuYjXIS3d1nClJ6DbClfA="}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:f0992d5a-0548-44c1-baee-0aac414fdf4d"}},"directories":{},"maintainers":[{"name":"gwennlbh","email":"gwenn.lebihan7@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/idb-opfs_0.4.0_1783543265616_0.9996859680972148"},"_hasShrinkwrap":false}},"time":{"created":"2026-07-08T15:54:35.377Z","modified":"2026-07-08T20:41:06.126Z","0.0.0":"2026-07-08T15:54:35.595Z","0.1.0":"2026-07-08T15:58:05.322Z","0.1.1":"2026-07-08T16:10:45.840Z","0.1.2":"2026-07-08T16:17:24.206Z","0.1.3":"2026-07-08T18:33:31.698Z","0.2.0":"2026-07-08T19:08:34.765Z","0.3.0":"2026-07-08T19:22:43.943Z","0.3.1":"2026-07-08T19:30:57.697Z","0.3.2":"2026-07-08T19:33:35.728Z","0.4.0":"2026-07-08T20:41:05.802Z"},"bugs":{"url":"https://github.com/gwennlbh/idb-opfs/issues"},"license":"MIT","homepage":"https://github.com/gwennlbh/idb-opfs#readme","keywords":["vitest","jest","test","mock","opfs","storage","node","browser"],"repository":{"type":"git","url":"git+https://github.com/gwennlbh/idb-opfs.git"},"description":"Replace navigator.storage.getDirectory() with a IndexedBD-backed OPFS implementation. Based on opfs-mock.","contributors":[{"name":"Gwenn Le Bihan","email":"gwenn.lebihan7@gmail.com"},{"name":"Jure Rotar","email":"hello@jurerotar.com"}],"maintainers":[{"name":"gwennlbh","email":"gwenn.lebihan7@gmail.com"}],"readme":"# idb-opfs\n\nIndexedDB-backed implementation of the [origin private file system](https://developer.mozilla.org/en-US/docs/Web/API/File_System_API/Origin_private_file_system).\n\nMotivation for the creation of this monster is to get around the [unavailability of OPFS in Playwright's WebKit Build](https://github.com/microsoft/playwright/issues/18235).\n\nSimply using a in-memory OPFS implementation does not suffice in that case, since OPFS is shared between the main thread and Web Workers.\n\nThe only built-in Web API that offers a read/write storage that's shared between web workers and the main thread is (afaik) IndexedDB.\n\nAt first I wanted to just contribute additional options for opfs-mock, allowing the caller to supply objects for the in-memory files & directories Map objects, but IndexedDB reads & writes are not synchronous, so I figured it was better to just fork the package, since the use case is very niche anyways.\n\n## Installation\n\n```shell\nnpm install --save-dev idb-opfs\n```\n\n## Limitations\n\n- [Limitations from `mock-opfs` itself]() still applies\n- The browser is assumed to have [`Uint8Array` to/from base64](), a Baseline 2025 feature.\n\n\n## Usage\n\n```ts\nimport \"idb-opfs\"\n```\n\nSince this is very specific to Playwright, here's usage instructions specifically for Playwright:\n\n```ts\nimport { readFileSync } from 'node:fs'\nimport { test as base } from '@playwright/test'\n\nconst idbOpfsSource = readFileSync(\"node_modules/idb-opfs/dist/index.mjs\", {encoding: \"utf8\"})\n\nexport test = base.extend({\n  forEachTest: [async ({ page }, use) => {\n    // Setup OPFS for WebKit\n    await page.addInitScript(async (source) => {\n      const mod = new Blob([source], { type: \"application/javascript\" })\n      const url = URL.createObjectURL(mod)\n      await import(url)\n      URL.revokeObjectURL(url)\n    }, idbOpfsSource)\n\n    await use()\n  }, { auto: true }]\n})\n```\n","readmeFilename":"README.md"}