
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Small wrapper around the glob module that allows globbing for multiple patterns at once
.. default-domain:: js .. highlight:: javascript
Glob all the patterns!
.. raw:: html
<a href="http://travis-ci.org/busterjs/multi-glob" class="travis">
<img src="https://secure.travis-ci.org/busterjs/multi-glob.png">
</a>
multi-glob
is a small wrapper around node-glob <https://github.com/isaacs/node-glob>
_ that allows you to glob multiple
patterns in one go, and optionally treat it as a failure if any one pattern
matches no files.
If you just need to glob multiple patterns in one go, you can simply do:
::
var glob = require("glob");
glob("{all,the,patterns}", cb);
However, with multi-glob
, you can do a "strict" glob, which will cause an
error if e.g. the pattern "the"
in the previous example matched no files.
multiGlob.glob(patterns[, options], callback);
Works like node-glob's glob <https://github.com/isaacs/node-glob>
_, with the
following two exceptions:
patterns
may be either a string pattern or an array of string patternsoptions
may include strict
. When set to true
, glob
will yield
an error if either one of patterns
matches no files.FAQs
Small wrapper around the glob module that allows globbing for multiple patterns at once
The npm package multi-glob receives a total of 4,409 weekly downloads. As such, multi-glob popularity was classified as popular.
We found that multi-glob demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.