$ npm install fs-native-lock
Cross platform lock file
npm install fs-native-lock
const LockFile = require('fs-native-lock')
Apache-2.0