Works with
•JSR Score70%•It is unknown whether this package works with Browsers, Deno, Node.js, Cloudflare Workers, Bun




Published2 years ago (0.215.0)
Functions
f
expandGlob(): AsyncIterableIterator<WalkEntry>
glob: string | URL,
unnamed 1?: ExpandGlobOptions
Expand the glob string from the specified root directory and yield each
result as a WalkEntry object.
f
expandGlobSync(): IterableIterator<WalkEntry>
glob: string | URL,
unnamed 1?: ExpandGlobOptions
Synchronous version of expandGlob().
Interfaces
I
Options for expandGlob and expandGlobSync.
- canonicalize: boolean
Indicates whether the followed symlink's path should be canonicalized. This option works only if
followSymlinksis notfalse. - exclude: string[]
List of glob patterns to be excluded from the expansion.
- followSymlinks: boolean
Whether to follow symbolic links.
- includeDirs: boolean
Whether to include directories in entries.
- root: string
File path where to expand from.