Home > @rushstack/node-core-library > FileSystem > readFileAsync
FileSystem.readFileAsync() method
An async version of FileSystem.readFile().
Signature:
static readFileAsync(filePath: string, options?: IFileSystemReadFileOptions): Promise<string>;
Parameters
Parameter | Type | Description |
---|---|---|
filePath | string | |
options | IFileSystemReadFileOptions | (Optional) |
Returns:
Promise<string>