{"_id":"@jsonjoy.com/fs-fsa@4.71.0","bugs":{"url":"https://github.com/streamich/memfs/issues"},"dist":{"shasum":"0707415350d8ac33ed9a19621b88e136a5160e52","tarball":"http://registry-npm.ywwl.com/@jsonjoy.com/fs-fsa/download/@jsonjoy.com/fs-fsa-4.71.0.tgz","fileCount":36,"integrity":"sha512-dRw5ojxzep3lntVGVBLzQUMYj1hXLH+DAz9sK0vKU+594x/zA2nYPOiitlyhYtOJ2nv1FXNq7c55rgwANknIWw==","signatures":[{"sig":"MEQCIHJZfOjiaYDfrWmthOSNFpwyutpY8ocP20Hbp9LZliKWAiBaTTIg1pkaKsLeS8/te3ATQKv/EvBiGCC+akZCogBnFg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIAxmivqyvOiaLJoePuS8l7apH6+9JXfK9s3+rzgZvoQSAiEA0BwiMOWEd3F5zvZc4M1oHSE7oOYqYelgZwjrTTioz68="}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@jsonjoy.com%2ffs-fsa@4.71.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":146628,"size":26974,"noattachment":false,"key":"/@jsonjoy.com/fs-fsa/-/@jsonjoy.com/fs-fsa-4.71.0.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","name":"@jsonjoy.com/fs-fsa","_from":"file:package.tgz","types":"lib/index.d.ts","author":{"url":"https://github.com/streamich","name":"streamich"},"engines":{"node":">=10.0"},"funding":{"url":"https://github.com/sponsors/streamich","type":"github"},"license":"Apache-2.0","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","version":"4.71.0","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:72abeae0-cd93-425e-ad82-ce276bd6a57a"}},"homepage":"https://github.com/streamich/memfs/tree/master/packages/fs-fsa","keywords":["fsa","file system access","native file system","webfs","opfs","fs","filesystem","virtual","memory"],"_resolved":"/home/runner/work/memfs/memfs/packages/fs-fsa/package.tgz","_integrity":"sha512-dRw5ojxzep3lntVGVBLzQUMYj1hXLH+DAz9sK0vKU+594x/zA2nYPOiitlyhYtOJ2nv1FXNq7c55rgwANknIWw==","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":{},"maintainers":[{"name":"json-joy-team","email":"team@jsonjoy.com"},{"name":"streamich","email":"vadimsdaleckis@gmail.com"}],"_nodeVersion":"24.20.0","dependencies":{"thingies":"^2.5.0","@jsonjoy.com/fs-core":"4.71.0","@jsonjoy.com/fs-node-utils":"4.71.0","@jsonjoy.com/fs-node-builtins":"4.71.0"},"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":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/fs-fsa_4.71.0_1788514886632_0.9615732093367086"},"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":1788514886731,"_cnpm_publish_time":1788514886731,"dist-tags":{"latest":"4.80.1"}}