🚀 Socket Launch Week 🚀 Day 1: Introducing .NET Support in Socket.Learn More
Socket
Sign inDemoInstall
Socket

glub

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

glub

glub up globs

1.0.3
latest
npm
Version published
Maintainers
1
Created
Source

glub

NPM version Build status Test coverage Downloads

Small wrapper around glob to allow mutiple args, useful for consuming mutiple command line args

var glub = require('glub');

// process.argv === ['node', 'index', '**/*.js', '!node_modules/**/*.js']
var files = glub.sync(process.argv.slice(2));

glub(process.argv.slice(2), function(err, files) {

});

It takes an optional second options param which just forwards to glob (the ignore prop gets pushed values)

Keywords

glob

FAQs

Package last updated on 18 Jun 2015

Did you know?

Socket

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.

Install

Related posts