| hide_title | true |
|---|---|
| custom_edit_url | |
| pagination_prev | |
| pagination_next |
Home > @rushstack/node-core-library > FileSystem > readFolderItemNames
Reads the names of folder entries, not including "." or "..". Behind the scenes it uses fs.readdirSync()<></>.
Signature:
static readFolderItemNames(folderPath: string, options?: IFileSystemReadFolderOptions): string[];|
Parameter |
Type |
Description |
|---|---|---|
|
folderPath |
string |
The absolute or relative path to the folder which should be read. |
|
options |
(Optional) Optional settings that can change the behavior. Type: |
Returns:
string[]