Function: findFilesRecursivelyStringIncludes()
findFilesRecursivelyStringIncludes(
path:PathLike,include:string):AsyncIterableIterator<string>
Defined in: findFilesRecursively.ts:77
Parameters
| Parameter | Type | Description |
|---|---|---|
path | PathLike | The path in which to find files. This can be a string, buffer, or URL. |
include | string | The string pattern which must be present in the file name. Note that we do not support a full globby pattern using asterisk for wildcards. It has to be an exact match with String.includes |
Returns
AsyncIterableIterator<string>
An AsyncIterableIterator of all the files. To loop over these use for await (const file of findFilesRecursivelyStringIncludes(path, fileNameEndsWith)) {}