wirite file node js code example Example: writefile in node js fs.writeFile('2pac.txt', 'Some other lyric', 'ascii', callback);