index.js
// Create a function to write README file
Create a function to write README file
Create a function to write README file
function writeToFile(fileName, stringData) {
  fs.writeFile(`./${fileName}`, stringData, (() =>
    console.log(`Data Succesfully Written to ./${fileName}`))
  );
}
function writeToFile ( fileName , stringData ) { fs . writeFile ( ` ${ fileName } ` , stringData , ( ( ) => console . log ( ` ${ fileName } ` ) ) ) ; }
Create a function to write README file
Create a function to write README file
// const dataJSON = JSON.stringify(data, null, '  ');