Home > @infiniteobjects/core-library-node > FileSystem > readFile
Asynchronously reads the entire UTF-8 contents of a file.
Signature:
static readFile(filePath: string): Promise<string>;
Parameter | Type | Description |
---|---|---|
filePath | string |
Returns:
Promise<string>
Just a promisified version of fs.readFile