{"name":"bare-fs","version":"4.5.5","author":{"name":"Holepunch"},"license":"Apache-2.0","_id":"bare-fs@4.5.5","maintainers":[{"name":"mafintosh","email":"mathiasbuus@gmail.com"},{"name":"kasperisager","email":"kasperisager@hey.com"},{"name":"yassernasc","email":"dev@yasser.email"}],"homepage":"https://github.com/holepunchto/bare-fs#readme","bugs":{"url":"https://github.com/holepunchto/bare-fs/issues"},"dist":{"shasum":"589a8f87a32af0266aa474413c8d7d11d50e4a65","tarball":"http://registry-npm.ywwl.com/bare-fs/download/bare-fs-4.5.5.tgz","fileCount":27,"integrity":"sha512-XvwYM6VZqKoqDll8BmSww5luA5eflDzY0uEFfBJtFKe4PAAtxBjU3YIxzIBzhyaEQBy1VXEQBto4cpN5RZJw+w==","signatures":[{"sig":"MEQCICPxDHdLtP+m4CwmJxYWsGO5l/SXyUqyELaRKAlO8kdBAiAzMKSFt5ivXW2NwshS2MUxTSLocuMN598WL3AJn8Ihaw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1060703,"size":286917,"noattachment":false,"key":"/bare-fs/-/bare-fs-4.5.5.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":"faf6a2937c10dede1ed37196580f1df8d803d5b5","scripts":{"test":"prettier . --check && bare test.js"},"_npmUser":{"name":"kasperisager","email":"kasperisager@hey.com"},"repository":{"url":"git+https://github.com/holepunchto/bare-fs.git","type":"git"},"_npmVersion":"11.9.0","description":"Native file system operations for Javascript","directories":{},"_nodeVersion":"25.6.1","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":{"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.5.5_1772028641623_0.39615650342742836","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":1772028641849,"_cnpm_publish_time":1772028641849,"dist-tags":{"latest":"4.8.4"}}