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

0.1.0 • Public • Published

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

Dependencies (5)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i iva

    Weekly Downloads

    3

    Version

    0.1.0

    License

    MIT

    Unpacked Size

    6.44 kB

    Total Files

    9

    Last publish

    Collaborators

    • fosimus
    • psxcode
    • deepsweet