{"name":"fd-lock","version":"2.1.0","author":{"name":"Holepunch"},"license":"Apache-2.0","_id":"fd-lock@2.1.0","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":"d79bc6f0ddb16d0dd60e64e77331571b6e0bb3f8","tarball":"http://registry-npm.ywwl.com/fd-lock/download/fd-lock-2.1.0.tgz","fileCount":4,"integrity":"sha512-AInoEAvko3HFgR19w1WMSfUvQZstjuQbDm2YiSTLjgRHJkEh5jQYRbeaiiYZIk2GQtPm2PCDEseI9KP6IXOuRw==","signatures":[{"sig":"MEYCIQDXFzmPr3s+R5z00pQAwtlA9TFJHbnhKAEIfkZnLL5BAAIhANaM6gCLDpZixabRP94+pc/vtscHK53GjjtfHaw7WtXv","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":14195,"size":5161,"noattachment":false,"key":"/fd-lock/-/fd-lock-2.1.0.tgz"},"exports":{".":"./index.js","./package":"./package.json"},"gitHead":"69fc6e2404a5a056b2e5491d5d11b770f1feb41d","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":"kasperisager","email":"kasperisager@hey.com"},"repository":{"url":"git+https://github.com/holepunchto/fd-lock.git","type":"git"},"_npmVersion":"11.6.0","description":"Stateful file descriptor locks for JavaScript","directories":{},"_nodeVersion":"24.10.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.0_1762780693290_0.5092686223882927","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":1762780693489,"_cnpm_publish_time":1762780693489,"dist-tags":{"latest":"2.2.0"}}