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