{"name":"bare-fs","version":"4.1.1","author":{"name":"Holepunch"},"license":"Apache-2.0","_id":"bare-fs@4.1.1","maintainers":[{"name":"mafintosh","email":"mathiasbuus@gmail.com"},{"name":"kasperisager","email":"kasperisager@hey.com"}],"homepage":"https://github.com/holepunchto/bare-fs#readme","bugs":{"url":"https://github.com/holepunchto/bare-fs/issues"},"dist":{"shasum":"b969b8d692bacbae07421b56bc6b069ec104ce6c","tarball":"http://registry-npm.ywwl.com/bare-fs/download/bare-fs-4.1.1.tgz","fileCount":25,"integrity":"sha512-RNZckVKB69J31g0aY0x0Alc/RYwRLjlAsR8u8WQGhPBD8CdlUC4nJ6IbR6V6MA4wlIKt1vCoGhXK7wP08xrfsQ==","signatures":[{"sig":"MEYCIQDfkPx2pi/Fw71BuK3AAZq0e+fc2IB9X6tBCinxDtgVsQIhAKM37wyOv1NLwco3uc/MFlbS83GNUlHwrQy/Y9kE6aq1","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1042640,"size":282606,"noattachment":false,"key":"/bare-fs/-/bare-fs-4.1.1.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":"e680aac201c65200bec4c7ba112c8ba6d68fc1ec","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.2.0","description":"Native file system for Javascript","directories":{},"_nodeVersion":"23.10.0","dependencies":{"bare-path":"^3.0.0","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","prettier-config-standard":"^7.0.0"},"peerDependencies":{"bare-buffer":"*"},"peerDependenciesMeta":{"bare-buffer":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/bare-fs_4.1.1_1743669686017_0.19559842436826713","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":1743669686324,"_cnpm_publish_time":1743669686324,"dist-tags":{"latest":"4.8.4"}}