Home > @rushstack/node-core-library > FileSystem > readFolderItemsAsync
FileSystem.readFolderItemsAsync() method
An async version of FileSystem.readFolderItems().
Signature:
static readFolderItemsAsync(folderPath: string, options?: IFileSystemReadFolderOptions): Promise<FolderItem[]>;
Parameters
Parameter | Type | Description |
---|---|---|
folderPath | string | |
options | IFileSystemReadFolderOptions | (Optional) |
Returns:
Promise<FolderItem[]>