0.1.0 • Published 4 years ago

iva v0.1.0

Weekly downloads
1
License
MIT
Repository
github
Last release
4 years ago

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)
}