cross-process-lock
JSON →Cross-process file locking solution with lock-queue for Node.js. Current stable version 2.2.0, released with TypeScript support. Uses file-based locking with a lock queue and configurable timeouts (lock timeout defaults to 20 minutes, wait timeout defaults to 10 seconds). Includes a convenient withLock wrapper for automatic lock/unlock. Ships TypeScript declarations. Key differentiator: simple async/await interface and lock queue mechanism rather than requiring external lock servers.
Resources
packagecross-process-lock ↗
API endpoints
full doc /v1/registry/cross-process-lock