What method is available in the Node.js fs module for writing data to a file?
fs.writeFile(fileName, data(string), ‘utf8’, callbackfn)
Are file operations using the fs module synchronous or asynchronous?
Some of them are asynchronous and some are synchronous