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