A collection of useful file helper functions.
const fileUtilities = require("file-utilities");
fileUtilities.getFileInformation(
"./data/test.txt",
function(error, info) {
if(error) {
return console.error(error);
}
return console.log(info);
}
);
To install this module:
npm install file-utilities
To build the distribution files for this module:
npm run build