JSPM

iva

0.1.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 16
  • Score
    100M100P100Q24859F
  • License MIT

Glob matching as async iterable

Package Exports

  • iva

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (iva) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

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