Skip to content

Latest commit

 

History

History

iva

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

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