{"name":"fd-lock","version":"2.2.0","description":"Stateful file descriptor locks for JavaScript","exports":{"./package":"./package.json",".":"./index.js"},"imports":{"fs":{"bare":"bare-fs","default":"fs"}},"scripts":{"test":"npm run lint && npm run test:bare && npm run test:node","test:bare":"bare test.js","test:node":"node test.js","lint":"prettier --check .","format":"prettier --write ."},"repository":{"type":"git","url":"git+https://github.com/holepunchto/fd-lock.git"},"author":{"name":"Holepunch"},"license":"Apache-2.0","bugs":{"url":"https://github.com/holepunchto/fd-lock/issues"},"homepage":"https://github.com/holepunchto/fd-lock#readme","dependencies":{"bare-fs":"^4.5.0","fs-native-extensions":"^1.4.4","ready-resource":"^1.2.0","resource-on-exit":"^1.0.0"},"devDependencies":{"brittle":"^3.3.2","prettier":"^3.4.2","prettier-config-holepunch":"^2.0.0"},"gitHead":"cad5c2b446d1bd174cb7a511224eb01df16d7d28","_id":"fd-lock@2.2.0","_nodeVersion":"24.16.0","_npmVersion":"11.13.0","dist":{"integrity":"sha512-Il4jWBhjjgvUg+z8d0bC7ncXqB42caqKTUpnZ9jpcqiPmw8bkIixt7Kic1czbZPMxAQD/9kEqfZ5Dq77nSll0w==","shasum":"5ad9ac4d1799bdbed68a5e1b59c059a6d82fae90","tarball":"http://registry-npm.ywwl.com/fd-lock/download/fd-lock-2.2.0.tgz","fileCount":4,"unpackedSize":14476,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/fd-lock@2.2.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIDPpkqkydmsf441uOCeHWCIudfULIa2mjjwjs/z0Dl7oAiBzpYuvoDhfWCRPg1ZhV0cMjNmSzu9proofgYWTdaV77g=="}],"size":5179,"noattachment":false,"key":"/fd-lock/-/fd-lock-2.2.0.tgz"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:48e2e67e-d7ec-4a77-9806-49041d0078bf"}},"directories":{},"maintainers":[{"name":"mafintosh","email":"mathiasbuus@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/fd-lock_2.2.0_1781686630746_0.4282901532301322"},"_hasShrinkwrap":false,"readme":"# fd-lock\n\nStateful file descriptor locks for JavaScript.\n\n```\nnpm i fd-lock\n```\n\n## Usage\n\n```js\nconst FDLock = require('fd-lock')\n\nconst lock = new FDLock(fd, { wait: true })\nawait lock.ready()\n\n// Lock is now held\n\nawait lock.close()\n```\n\n## License\n\nApache-2.0\n","publish_time":1781686630876,"_cnpm_publish_time":1781686630876,"dist-tags":{"latest":"2.2.0"}}