function writeToFile(fileName, data) {
    fs.writeFile(fileName, data, (err) =>
      err ? console.log(err) : console.log('README file created successfully!')
    );
}
// A function to write README file
A function to write README file
A function to write README file
function writeToFile(fileName, data) {
    fs.writeFile(fileName, data, (err) =>
      err ? console.log(err) : console.log('README file created successfully!')
    );
}
function writeToFile ( fileName , data ) { fs . writeFile ( fileName , data , ( err ) => err ? console . log ( err ) : console . log ( 'README file created successfully!' ) ) ; }
A function to write README file
A function to write README file