Like glob but async iterable.
glob
File separators on Windows will be yielded as / and not ``.
/
import glob from 'it-glob'// All options are passed through to fast-globconst options = {}for await (const path of glob('/path/to/file', '**/*', options)) { console.info(path)} Copy
import glob from 'it-glob'// All options are passed through to fast-globconst options = {}for await (const path of glob('/path/to/file', '**/*', options)) { console.info(path)}
See the fast-glob docs for the full list of options.
Like
glob
but async iterable.File separators on Windows will be yielded as
/
and not ``.Example
See the fast-glob docs for the full list of options.