It reads a file and returns its content as a string. Uses utf-8 encoding by default.
Path to the file to read.
Options to read the file with (defaults to utf-8 encoding).
A promise that resolves with the content of the file.
Optional
It reads a file and returns its content as a string. Uses utf-8 encoding by default.
Param: path
Path to the file to read.
Param: options
Options to read the file with (defaults to utf-8 encoding).
Returns
A promise that resolves with the content of the file.