panda-glob

0.1.2 • Public • Published

panda-glob

A globbing wrapper around minimatch optimized for multiple calls against large directories.

Installation

npm install panda-glob

Usage

glob = require "glob"
paths = glob("node_modules", "**/*.coffee")

There is presently no async mode.

For more, see the docs for the minimatch library, which does the real work.

Caching

The filesystem hierarchy is cached, as are instances of the minimatch pattern itself. So you can call this repeatedly without incurring additional filesystem overhead. This means that, if there are changes over time, you will start to get erroneous results. There is presently no way to clear the cache.

Readme

Keywords

none

Package Sidebar

Install

npm i panda-glob

Weekly Downloads

2

Version

0.1.2

License

MIT

Last publish

Collaborators

  • dyoder