{"_id":"bare-fs@4.8.2","bugs":{"url":"https://github.com/holepunchto/bare-fs/issues"},"dist":{"shasum":"3d124eae8a0af0c34590b1a0f266a7df2b26b0d2","tarball":"http://registry-npm.ywwl.com/bare-fs/download/bare-fs-4.8.2.tgz","fileCount":27,"integrity":"sha512-+ZI68KHMUvosXfKbg/UOHK0tbCdRnegbvPEdEcZ3Nd6TetieQsJPRXBRXPdLyy8+3VSEbPXtsumTpEtt78xv9w==","signatures":[{"sig":"MEUCIQDoOUUz+OLi6xncKwk8MK7CJ9T8PKJ+Y+eTBqc3YzYNGgIgDwjFgGlKc7mZUsbw0ot/CdhbkINcped5sv6oYNvP7Xc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIA5VSh6F3QscEXRATS9Eey9mHjU9hZB5e0YNtD7lXVN8AiEAms3KU8LhHXc3SwCUjxQzCTE04trybT7N7jzEf44Qi/g="}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/bare-fs@4.8.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":1320088,"size":356865,"noattachment":false,"key":"/bare-fs/-/bare-fs-4.8.2.tgz"},"name":"bare-fs","addon":true,"types":"./index.d.ts","author":{"name":"Holepunch"},"engines":{"bare":">=1.28.0"},"exports":{".":{"types":"./index.d.ts","default":"./index.js"},"./package":"./package.json","./promises":{"types":"./promises.d.ts","default":"./promises.js"},"./constants":{"types":"./lib/constants.d.ts","default":"./lib/constants.js"}},"gitHead":"02884e703f4f278f958398a0396ee6f92574a3b5","license":"Apache-2.0","scripts":{"lint":"prettier --check . && lunte","test":"brittle-bare --coverage test.js","format":"prettier --write . && lunte --fix"},"version":"4.8.2","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:a4369cbd-3898-4e7f-a8ec-854da1e8c697"}},"homepage":"https://github.com/holepunchto/bare-fs#readme","repository":{"url":"git+https://github.com/holepunchto/bare-fs.git","type":"git"},"_npmVersion":"11.19.0","description":"Native file system operations for Bare","directories":{},"maintainers":[{"name":"mafintosh","email":"mathiasbuus@gmail.com"}],"_nodeVersion":"24.21.0","dependencies":{"bare-url":"^2.2.2","bare-path":"^3.0.0","fast-fifo":"^1.3.2","bare-events":"^2.5.4","bare-stream":"^2.6.4"},"_hasShrinkwrap":false,"devDependencies":{"lunte":"^1.6.0","brittle":"^3.1.1","prettier":"^3.4.1","cmake-bare":"^1.1.7","bare-buffer":"^3.0.2","bare-crypto":"^1.11.2","bare-thread":"^1.2.6","prettier-config-holepunch":"^2.0.0"},"peerDependencies":{"bare-buffer":"*"},"peerDependenciesMeta":{"bare-buffer":{"optional":true}},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/bare-fs_4.8.2_1790364260557_0.43644028035954063"},"readme":"# bare-fs\n\nNative file system operations for Bare. The API closely follows that of the Node.js `fs` module.\n\n```\nnpm i bare-fs\n```\n\n## Usage\n\n```js\nconst fs = require('bare-fs')\n\nconst fd = await fs.open('hello.txt')\n\nconst buffer = Buffer.alloc(1024)\n\ntry {\n  const length = await fs.read(fd, buffer)\n\n  console.log('Read', length, 'bytes')\n} finally {\n  await fs.close(fd)\n}\n```\n\n## API\n\nSee the [`bare-fs` reference](https://docs.pears.com/reference/bare/modules/bare-fs).\n\n## License\n\nApache-2.0\n","publish_time":1790364260797,"_cnpm_publish_time":1790364260797,"dist-tags":{"latest":"4.8.4"}}