Fglob
Bun

function

fs.promises.glob

function glob(
pattern: string | string[]
): AsyncIterator<string>;

Retrieves the files matching the specified pattern.

function glob(
pattern: string | string[],
): AsyncIterator<Dirent>;

Retrieves the files matching the specified pattern.

function glob(
pattern: string | string[],
): AsyncIterator<string>;

Retrieves the files matching the specified pattern.

function glob(
pattern: string | string[],
): AsyncIterator<string | Dirent>;

Retrieves the files matching the specified pattern.