@bernierllc/file-lock
Atomic file locking utility with exponential backoff retry, stale lock detection, and automatic cleanup
locko
A simple in-process locking mechanism for critical sections of code.
syncguard
Functional TypeScript library for distributed locking across microservices. Prevents race conditions with Redis, PostgreSQL, Firestore, and custom backends. Features automatic lock management, timeout handling, and extensible architecture.
atomically
Read and write files atomically and reliably.