So, when using fs commands across platforms, I've noticed some interesting behavior with case sensitivity. On OSes where case sensitivity is not a concern like Windows and OSX, node's file i/o calls work the same with not caring about case sensitivity. Whereas on Linux it does.
For example,
util.promisify(fs.readdir)('./foo/bar.txt').then( files => console.log(file))
and
util.promisify(fs.readdir)('./Foo/bar.txt').then( files => console.log(file))
Will do the same thing on OSX and Windows, however on Ubuntu (which I am using in a production environment), will only see what is actually on the file system. As node aims to be cross-platform it may be beneficial to have the stricter behavior be constant.