Understanding Node.js file locking - LogRocket Blog
Briefly