iva
v0.1.0
Published
Glob matching as async iterable
Downloads
22
Readme
iva
Glob matching as async iterable.
Install
$ yarn add iva
Usage
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)
}