{"name":"bare-fs","version":"4.7.2","author":{"name":"Holepunch"},"license":"Apache-2.0","_id":"bare-fs@4.7.2","maintainers":[{"name":"mafintosh","email":"mathiasbuus@gmail.com"}],"homepage":"https://github.com/holepunchto/bare-fs#readme","bugs":{"url":"https://github.com/holepunchto/bare-fs/issues"},"dist":{"shasum":"0f59b317e5bdbec6a1489b519a06a203cd3fe035","tarball":"http://registry-npm.ywwl.com/bare-fs/download/bare-fs-4.7.2.tgz","fileCount":27,"integrity":"sha512-aTvMFUWkBmjzKtEQMDGGDNF8bkfpD5N1b/FCwt7A3wrU4t1o/e/85Wzkluh6JlODCjqVESYCkQCdTXqZ9G7VFg==","signatures":[{"sig":"MEQCIBFpeaLq3GejTXY6l1InvySICz5kVMNlrrFX2fNYyzjrAiBOuzN2AsNG9tCq7JD5o17eUHCy59NkTCAYyeHVd0kGfA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/bare-fs@4.7.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":1275122,"size":333556,"noattachment":false,"key":"/bare-fs/-/bare-fs-4.7.2.tgz"},"addon":true,"types":"./index.d.ts","engines":{"bare":">=1.16.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":"c3f1e565c8ee20828ef89a3227f1f19879c7b33b","scripts":{"lint":"prettier --check . && lunte","test":"brittle-bare --coverage test.js","format":"prettier --write . && lunte --fix"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:a4369cbd-3898-4e7f-a8ec-854da1e8c697"}},"repository":{"url":"git+https://github.com/holepunchto/bare-fs.git","type":"git"},"_npmVersion":"11.13.0","description":"Native file system operations for Bare","directories":{},"_nodeVersion":"24.16.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","prettier-config-holepunch":"^2.0.0"},"peerDependencies":{"bare-buffer":"*"},"peerDependenciesMeta":{"bare-buffer":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/bare-fs_4.7.2_1780389250781_0.24096174679749338","host":"s3://npm-registry-packages-npm-production"},"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":1780389250944,"_cnpm_publish_time":1780389250944,"dist-tags":{"latest":"4.8.4"}}