Glob matching as async iterable.
$ yarn add iva
const matchGlobs: (globs: Iterable<string>) => AsyncIterable<string>
import { matchGlobs } from 'iva'
const pathIterable = matchGlobs(['packages/*/src/*.ts', '!packages/foo/**'])
for await (const path of pathIterable) {
console.log(path)
}