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