New:Introducing Socket Scanning for VS Code Marketplace Extensions.Learn more →
Get Started

iva

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

iva

Glob matching as async iterable

latest
Source
npmnpm
Version
0.1.0
Version published
Weekly downloads
8
166.67%
Maintainers
1
Weekly downloads
 
Created
Source

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

Keywords

glob

FAQs

Package last updated on 04 Oct 2020

Related posts