{"name":"fd-lock","version":"2.1.1","author":{"name":"Holepunch"},"license":"Apache-2.0","_id":"fd-lock@2.1.1","maintainers":[{"name":"mafintosh","email":"mathiasbuus@gmail.com"},{"name":"kasperisager","email":"kasperisager@hey.com"}],"homepage":"https://github.com/holepunchto/fd-lock#readme","bugs":{"url":"https://github.com/holepunchto/fd-lock/issues"},"dist":{"shasum":"fb6683bbbd1d3a159fdd78e5f8b2052f8bcd6842","tarball":"http://registry-npm.ywwl.com/fd-lock/download/fd-lock-2.1.1.tgz","fileCount":4,"integrity":"sha512-H3VkcWFl39Rk0xBokDcUyBcVs6VrYTUo/DhDWMzJOF99wXWDAvmvq/GlLTS2NTehsznZhp3fXVyrtB2ldDXhwg==","signatures":[{"sig":"MEYCIQDy01Wq/I5jB+hudoCUo8QnqIBTsu766Q8B0QbJPs5lbAIhAL2X/J+0QAw2S0tYwwNNeSrxYPjLfHqMoelfIg23RRvg","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":14382,"size":5161,"noattachment":false,"key":"/fd-lock/-/fd-lock-2.1.1.tgz"},"exports":{".":"./index.js","./package":"./package.json"},"gitHead":"bca0ef8ac23268e93a3645c00cd53f89787f01e5","imports":{"fs":{"bare":"bare-fs","default":"fs"}},"scripts":{"lint":"prettier --check .","test":"npm run lint && npm run test:bare && npm run test:node","format":"prettier --write .","test:bare":"bare test.js","test:node":"node test.js"},"_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"repository":{"url":"git+https://github.com/holepunchto/fd-lock.git","type":"git"},"_npmVersion":"10.9.2","description":"Stateful file descriptor locks for JavaScript","directories":{},"_nodeVersion":"22.16.0","dependencies":{"bare-fs":"^4.5.0","ready-resource":"^1.2.0","resource-on-exit":"^1.0.0","fs-native-extensions":"^1.4.4"},"_hasShrinkwrap":false,"devDependencies":{"brittle":"^3.3.2","prettier":"^3.4.2","prettier-config-holepunch":"^2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/fd-lock_2.1.1_1762798911230_0.06805117552211826","host":"s3://npm-registry-packages-npm-production"},"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":1762798911425,"_cnpm_publish_time":1762798911425,"dist-tags":{"latest":"2.2.0"}}