fd-lock
Stateful file descriptor locks for JavaScript
Last updated 5 months ago by GitHub Actions .
Apache-2.0 · Repository · Bugs · Original npm · Tarball · package.json
$ npm install fd-lock 
SYNC missed versions from official npm registry.

fd-lock

Stateful file descriptor locks for JavaScript.

npm i fd-lock

Usage

const FDLock = require('fd-lock')

const lock = new FDLock(fd, { wait: true })
await lock.ready()

// Lock is now held

await lock.close()

License

Apache-2.0

Current Tags

  • 2.2.0                                ...           latest (5 months ago)

14 Versions

  • 2.2.0                                ...           5 months ago
  • 2.1.1                                ...           a year ago
  • 2.1.0                                ...           a year ago
  • 2.0.0                                ...           a year ago
  • 0.0.2                                ...           8 years ago
  • 0.0.1                                ...           8 years ago
  • 0.0.0                                ...           8 years ago
  • 1.2.0                                ...           6 years ago
  • 1.1.2                                ...           6 years ago
  • 1.1.1                                ...           6 years ago
  • 1.1.0                                ...           6 years ago
  • 1.0.2                                ...           8 years ago
  • 1.0.1                                ...           8 years ago
  • 1.0.0                                ...           8 years ago
Maintainers (1)
Downloads
Total 47
Today 0
This Week 4
This Month 26
Last Day 1
Last Week 12
Last Month 17
Dependencies (4)
Dev Dependencies (3)

© 2010 - cnpmjs.org x YWFE | Home | YWFE