Skip to main content

glob

function glob
Jump to headingglob(pattern: string | string[]): AsyncIterableIterator<string>

Retrieves the files matching the specified pattern.

Parameters Jump to heading

Jump to headingpattern: string | string[]

Return Type Jump to heading

AsyncIterableIterator<string>
Jump to headingglob(
pattern: string | string[],
): AsyncIterableIterator<Dirent>

Parameters Jump to heading

Return Type Jump to heading

AsyncIterableIterator<Dirent>
Jump to headingglob(
pattern: string | string[],
): AsyncIterableIterator<string>

Parameters Jump to heading

Return Type Jump to heading

AsyncIterableIterator<string>
Jump to headingglob(
pattern: string | string[],
): AsyncIterableIterator<Dirent> | AsyncIterableIterator<string>

Parameters Jump to heading

Jump to headingpattern: string | string[]

Return Type Jump to heading

AsyncIterableIterator<Dirent> | AsyncIterableIterator<string>
Back to top