Узел FS GET DATE создание каталога
const fs = require('fs');
// fetch file details
fs.stat('file.txt', (err, stats) => {
if(err) {
throw err;
}
console.log(`File Data Creation: ${stats.birthtime}`);
});
GutoTrosla