Save text or stream to a file, given a path
.
As a string, this is the encoding. Otherwise, it has the same meaning as the argument in the fs.readFile(filename[, options], callback)
function of NodeJS.
You can specify the path
attribute to it. In this case, the corresponding input is not definined.
options.path
is defined.