JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 259394
  • Score
    100M100P100Q163527F
  • License ISC

Async iterable filename pattern matcher

Package Exports

  • it-glob

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 (it-glob) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

it-glob

Async iterable filename pattern matcher

Like glob but async iterable.

Installation

$ npm install --save it-glob

Usage

const glob = require('it-glob')

const options = {
  ignore: [
    'glob' // glob patterns to ignore
  ]
  // all other options are passed to minimatch
}

for await (const path of glob('/path/to/file', '**/*', options)) {
  console.info(path)
}