I’m trying to using the fs.writeFileSync
module
fs.readdir(dirName, (err, files) => {
files.forEach(file => {
console.log(file);
/*
"available_modules"
"index.js"
*/
});
})
But it didn’t save the file
I’m trying to using the fs.writeFileSync
module
fs.readdir(dirName, (err, files) => {
files.forEach(file => {
console.log(file);
/*
"available_modules"
"index.js"
*/
});
})
But it didn’t save the file
Hi there! Could you link to the notebook with all your code?