{"name":"@jsonjoy.com/fs-fsa","version":"4.71.1","keywords":["fsa","file system access","native file system","webfs","opfs","fs","filesystem","virtual","memory"],"author":{"url":"https://github.com/streamich","name":"streamich"},"license":"Apache-2.0","_id":"@jsonjoy.com/fs-fsa@4.71.1","maintainers":[{"name":"json-joy-team","email":"team@jsonjoy.com"},{"name":"streamich","email":"vadimsdaleckis@gmail.com"}],"homepage":"https://github.com/streamich/memfs/tree/master/packages/fs-fsa","bugs":{"url":"https://github.com/streamich/memfs/issues"},"dist":{"shasum":"e7f3add23ecc8131025aeffc850f502854142241","tarball":"http://registry-npm.ywwl.com/@jsonjoy.com/fs-fsa/download/@jsonjoy.com/fs-fsa-4.71.1.tgz","fileCount":36,"integrity":"sha512-fVErbyk7hEA0qhie9pdf7KMf1Fjuw+F5C9QdWi6v2NQG6UHfxIMtaCAzG7cbQKjxOgj/l4fWKXFbYmCp5KRe8g==","signatures":[{"sig":"MEYCIQDycfrx+TEP2XIdGS+Pl+LuQECpI/wj/cBrr2v62lwSOQIhAIXvt37dX5l1TAcAoo/51J8ji5e0ioD6xlmrijuxd/YT","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEQCIFIvWLrsf2n5nHCB/exvGmVB/RxX/bL2HgAOl0OwDtLrAiAfq9TxA7b1CYgeozoWPRwRiAZa1oBfilOoWzAeUQgdRw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@jsonjoy.com%2ffs-fsa@4.71.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":146628,"size":26976,"noattachment":false,"key":"/@jsonjoy.com/fs-fsa/-/@jsonjoy.com/fs-fsa-4.71.1.tgz"},"jest":{"preset":"ts-jest","rootDir":".","testRegex":".*/(__tests__|__jest__|demo)/.*\\.(test|spec)\\.tsx?$","transform":{"^.+\\.tsx?$":"ts-jest"},"testEnvironment":"node","moduleFileExtensions":["ts","js","tsx"],"testPathIgnorePatterns":["node_modules"],"transformIgnorePatterns":[".*/node_modules/.*"]},"main":"lib/index.js","_from":"file:package.tgz","types":"lib/index.d.ts","engines":{"node":">=10.0"},"funding":{"url":"https://github.com/sponsors/streamich","type":"github"},"scripts":{"jest":"node -r ts-node/register ./node_modules/.bin/jest","test":"jest --maxWorkers 7","build":"tsc --project tsconfig.build.json --module commonjs --target es2020 --outDir lib","clean":"rimraf lib typedocs coverage gh-pages yarn-error.log","test:ci":"yarn jest --maxWorkers 3 --no-cache","typedoc":"typedoc","coverage":"yarn test --collectCoverage","typecheck":"tsc -p ."},"typings":"lib/index.d.ts","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:72abeae0-cd93-425e-ad82-ce276bd6a57a"}},"_resolved":"/home/runner/work/memfs/memfs/packages/fs-fsa/package.tgz","_integrity":"sha512-fVErbyk7hEA0qhie9pdf7KMf1Fjuw+F5C9QdWi6v2NQG6UHfxIMtaCAzG7cbQKjxOgj/l4fWKXFbYmCp5KRe8g==","repository":{"url":"git+https://github.com/streamich/memfs.git","type":"git"},"_npmVersion":"11.19.0","description":"File System Access API implementation backed by core filesystem primitives","directories":{},"_nodeVersion":"24.20.0","dependencies":{"thingies":"^2.5.0","@jsonjoy.com/fs-core":"4.71.1","@jsonjoy.com/fs-node-utils":"4.71.1","@jsonjoy.com/fs-node-builtins":"4.71.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.0.0","rimraf":"^5.0.0","ts-jest":"^29.4.2","ts-node":"^10.9.2","typescript":"^5.9.2","@types/jest":"^29.0.0","@types/node":"^20.0.0"},"peerDependencies":{"tslib":"2"},"_npmOperationalInternal":{"tmp":"tmp/fs-fsa_4.71.1_1788991834838_0.30686379912226514","host":"s3://npm-registry-packages-npm-production"},"readme":"# @jsonjoy.com/fs-fsa\n\nFile System Access API implementation backed by `@jsonjoy.com/fs-core` primitives.\n\nProvides a [File System Access API](https://developer.mozilla.org/en-US/docs/Web/API/File_System_API)\nimplementation that works with the `Superblock` filesystem abstraction.\n\n## Installation\n\n```bash\nnpm install @jsonjoy.com/fs-fsa\n```\n\n## Usage\n\n```ts\nimport { fsa } from '@jsonjoy.com/fs-fsa';\n\nconst { dir, core, FileSystemObserver } = fsa({ mode: 'readwrite' });\n\n// Create a file\nconst fileHandle = await dir.getFileHandle('hello.txt', { create: true });\nconst writable = await fileHandle.createWritable();\nawait writable.write('Hello, World!');\nawait writable.close();\n\n// Read a file\nconst file = await fileHandle.getFile();\nconst contents = await file.text();\nconsole.log(contents); // 'Hello, World!'\n```\n\n## License\n\nApache-2.0\n","publish_time":1788991834941,"_cnpm_publish_time":1788991834941,"dist-tags":{"latest":"4.80.1"}}