gridfs-locks
Distributed read/write locking based on MongoDB, designed to make GridFS safe for concurrent access
proper-lockfile
A inter-process and inter-machine lockfile utility that works on a local or network file system
os-lock
Cross-platform file locking/unlocking