it-glob
TypeScript icon, indicating that this package has built-in type declarations

3.0.1 • Public • Published

it-glob

codecov CI

Async iterable filename pattern matcher

About

Like glob but async iterable.

File separators on Windows will be yielded as / and not ``.

Example

import glob from 'it-glob'

// All options are passed through to fast-glob
const 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.

Install

$ npm i it-glob

API Docs

License

Licensed under either of

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 3.0.1
    152
    • latest

Version History

Package Sidebar

Install

npm i it-glob

Weekly Downloads

99,405

Version

3.0.1

License

Apache-2.0 OR MIT

Unpacked Size

8.53 kB

Total Files

14

Last publish

Collaborators

  • achingbrain