index.js
// TODO: Create a function to write README file
Create a function to write README file
Create a function to write README file
function writeToFile(fileName, data) {
  fs.writeFile(fileName, generate.generateMarkdown(data), (err) =>
      err ? console.log(err) : console.log('README Success!')
  );
}
function writeToFile ( fileName , data ) { fs . writeFile ( fileName , generate . generateMarkdown ( data ) , ( err ) => err ? console . log ( err ) : console . log ( 'README Success!' ) ) ; }
TODO: Create a function to write README file
TODO : Create a function to write README file