is-glob-blacklist
v0.0.1
Published
Detect whether an array of globs is a blacklist
Readme
is-glob-blacklist 
Detect whether an array of globs is a blacklist
Install
$ npm install --save is-glob-blacklistUsage
var isGlobBlacklist = require('is-glob-blacklist');
isGlobBlacklist(['foo']);
//=> false
isGlobBlacklist(['!foo']);
//=> true
isGlobBlacklist(['foo', '!foo/bar']);
//=> false
isGlobBlacklist(['!foo', 'foo/bar']);
//=> trueAPI
isGlobBlacklist(input)
input
Type: string[]
Array of globs.
License
MIT © JM Versteeg
