proper-lockfile

A inter-process and inter-machine lockfile utility that works on a local or network file system

mortice

Isomorphic read/write lock that works in single processes, node clusters and web workers