{"name":"@jsonjoy.com/fs-fsa","version":"4.56.2","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.56.2","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","dist":{"shasum":"1458ee2701218a13133650f6489ca2f8b951a727","tarball":"http://registry-npm.ywwl.com/@jsonjoy.com/fs-fsa/download/@jsonjoy.com/fs-fsa-4.56.2.tgz","fileCount":36,"integrity":"sha512-2lN4rdhcjFBf2Oji0rHR1aS+fW+GA0l9o9gXCMWFoC+YXqRO4N4xkSeJwm6a10SMuqlhoseCWRWlhaDYiNiI2A==","signatures":[{"sig":"MEUCID3eY6Fijh0iZeM1GXUwwrrlxUoUVAmLU5SwKyh8dquCAiEA+HClZot1sbrejcVdbm+NdqQZYqHso95Sh+JikVhRAIY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":92095,"size":20138,"noattachment":false,"key":"/@jsonjoy.com/fs-fsa/-/@jsonjoy.com/fs-fsa-4.56.2.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","types":"lib/index.d.ts","engines":{"node":">=10.0"},"funding":{"url":"https://github.com/sponsors/streamich","type":"github"},"gitHead":"90ebbb9f65519d102fa1c2c8ddf8e2052fb340a0","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":"streamich","email":"vadimsdaleckis@gmail.com"},"repository":"streamich/memfs","description":"File System Access API implementation backed by core filesystem primitives","directories":{},"dependencies":{"thingies":"^2.5.0","@jsonjoy.com/fs-core":"4.56.2","@jsonjoy.com/fs-node-utils":"4.56.2","@jsonjoy.com/fs-node-builtins":"4.56.2"},"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.56.2_1768846101177_0.46809972237488484","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":1768846101338,"_cnpm_publish_time":1768846101338,"dist-tags":{"latest":"4.80.1"}}