Security News
PyPI Introduces Digital Attestations to Strengthen Python Package Security
PyPI now supports digital attestations, enhancing security and trust by allowing package maintainers to verify the authenticity of Python packages.
Adds array support to node-glob, sync and async. Also supports tilde expansion (user home) and resolving to global npm modules.
Adds array support to node-glob, sync and async. Also supports tilde expansion (user home) and resolving to global npm modules.
(TOC generated by verb using markdown-toc)
Install with npm:
$ npm i matched --save
TODO
var glob = require('matched');
async
glob(['*.js'], function(err, files) {
//=> ['utils.js', 'index.js']
});
sync
var files = glob.sync(['*.js']);
//=> ['utils.js', 'index.js']
promise
glob.promise(['*.txt'])
.then(function(files) {
//=> ['a.txt', 'b.txt', 'c.txt']
});
options
All methods take options as the second argument:
glob(['*.js'], {cwd: 'test'}, function(err, files) {
//=> ['test.js']
});
true
if the given string looks like a glob pattern or an extglob pattern.… more | homepageInstall dev dependencies:
$ npm i -d && npm test
Pull requests and stars are always welcome. For bugs and feature requests, please create an issue.
Jon Schlinkert
Copyright © 2015 Jon Schlinkert Released under the MIT license.
This file was generated by verb on December 27, 2015.
FAQs
Adds array support to node-glob, sync and async. Also supports tilde expansion (user home) and resolving to global npm modules.
The npm package matched receives a total of 100,475 weekly downloads. As such, matched popularity was classified as popular.
We found that matched demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 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
PyPI now supports digital attestations, enhancing security and trust by allowing package maintainers to verify the authenticity of Python packages.
Security News
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.