{"maintainers":[{"name":"contra","email":"contra@wearefractal.com"},{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"},{"name":"phated","email":"blaine@iceddev.com"}],"keywords":["array","check","glob","match","pattern","patterns","read","test","valid","validate"],"dist-tags":{"latest":"0.3.0"},"author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"description":"Return true if a value is a valid glob pattern or patterns.","readme":"# is-valid-glob [![NPM version](https://badge.fury.io/js/is-valid-glob.svg)](http://badge.fury.io/js/is-valid-glob)\n\n> Return true if a value is a valid glob pattern or patterns.\n\nThis really just checks to make sure that a pattern is either a string or array, and if it's an array it's either empty or consists of only strings.\n\n## Install\n\nInstall with [npm](https://www.npmjs.com/)\n\n```sh\n$ npm i is-valid-glob --save\n```\n\n## Usage\n\n```js\nvar isValidGlob = require('is-valid-glob');\n\nisValidGlob('foo/*.js');\n//=> true\n```\n\n**Valid patterns**\n\n```js\nisValidGlob('a');\nisValidGlob('a.js');\nisValidGlob('*.js');\nisValidGlob(['a', 'b']);\n//=> all true\n```\n\n**Invalid patterns**\n\n```js\nisValidGlob();\nisValidGlob('');\nisValidGlob(null);\nisValidGlob(undefined);\nisValidGlob(new Buffer('foo'));\nisValidGlob(['foo', [[]]]);\nisValidGlob(['foo', [['bar']]]);\nisValidGlob(['foo', {}]);\nisValidGlob({});\nisValidGlob([]);\nisValidGlob(['']);\n//=> all false\n```\n\n## Related projects\n\n* [braces](https://github.com/jonschlinkert/braces): Fastest brace expansion for node.js, with the most complete support for the Bash 4.3 braces… [more](https://github.com/jonschlinkert/braces)\n* [expand-range](https://github.com/jonschlinkert/expand-range): Fast, bash-like range expansion. Expand a range of numbers or letters, uppercase or lowercase. See… [more](https://github.com/jonschlinkert/expand-range)\n* [fill-range](https://github.com/jonschlinkert/fill-range): Fill in a range of numbers or letters, optionally passing an increment or multiplier to… [more](https://github.com/jonschlinkert/fill-range)\n* [gulp](http://gulpjs.com): The streaming build system\n* [glob-fs](https://github.com/jonschlinkert/glob-fs): file globbing for node.js. speedy and powerful alternative to node-glob.\n* [is-glob](https://github.com/jonschlinkert/is-glob): Returns `true` if the given string looks like a glob pattern.\n* [micromatch](https://github.com/jonschlinkert/micromatch): Glob matching for javascript/node.js. A drop-in replacement and faster alternative to minimatch and multimatch. Just… [more](https://github.com/jonschlinkert/micromatch)\n* [vinyl-fs](http://github.com/wearefractal/vinyl-fs): Vinyl adapter for the file system\n\n## Running tests\n\nInstall dev dependencies:\n\n```sh\n$ npm i -d && npm test\n```\n\n## Contributing\n\nPull requests and stars are always welcome. For bugs and feature requests, [please create an issue](https://github.com/jonschlinkert/is-valid-glob/issues/new)\n\n## Author\n\n**Jon Schlinkert**\n\n+ [github/jonschlinkert](https://github.com/jonschlinkert)\n+ [twitter/jonschlinkert](http://twitter.com/jonschlinkert)\n\n## License\n\nCopyright © 2015 Jon Schlinkert\nReleased under the MIT license.\n\n***\n\n_This file was generated by [verb-cli](https://github.com/assemble/verb-cli) on July 11, 2015._","repository":{"type":"git","url":"git+https://github.com/jonschlinkert/is-valid-glob.git"},"bugs":{"url":"https://github.com/jonschlinkert/is-valid-glob/issues"},"license":"MIT","versions":{"0.1.0":{"name":"is-valid-glob","description":"Return true if a value is a valid glob pattern.","version":"0.1.0","homepage":"https://github.com/jonschlinkert/is-valid-glob","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/is-valid-glob.git"},"bugs":{"url":"https://github.com/jonschlinkert/is-valid-glob/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{},"devDependencies":{"mocha":"*"},"keywords":["array","check","glob","match","pattern","patterns","read","test","valid","validate"],"_id":"is-valid-glob@0.1.0","_shasum":"b166fdd9de107d0a1a2d35b3aaebf4b9d75e043e","_from":".","_npmVersion":"2.10.1","_nodeVersion":"0.12.4","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"b166fdd9de107d0a1a2d35b3aaebf4b9d75e043e","tarball":"http://nexus.dui88.com:8081/nexus/content/groups/npm-all/is-valid-glob/-/is-valid-glob-0.1.0.tgz"},"directories":{}},"0.2.0":{"name":"is-valid-glob","description":"Return true if a value is a valid glob pattern or patterns.","version":"0.2.0","homepage":"https://github.com/jonschlinkert/is-valid-glob","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/is-valid-glob.git"},"bugs":{"url":"https://github.com/jonschlinkert/is-valid-glob/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"devDependencies":{"mocha":"*"},"keywords":["array","check","glob","match","pattern","patterns","read","test","valid","validate"],"gitHead":"62d59c237ccd4bd34a56d842a401202a04255f35","_id":"is-valid-glob@0.2.0","_shasum":"d7909de7ae0c37190f6db3e4f2c3482397e47b22","_from":".","_npmVersion":"2.10.1","_nodeVersion":"0.12.4","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"d7909de7ae0c37190f6db3e4f2c3482397e47b22","tarball":"http://nexus.dui88.com:8081/nexus/content/groups/npm-all/is-valid-glob/-/is-valid-glob-0.2.0.tgz"},"directories":{}},"0.3.0":{"name":"is-valid-glob","description":"Return true if a value is a valid glob pattern or patterns.","version":"0.3.0","homepage":"https://github.com/jonschlinkert/is-valid-glob","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/is-valid-glob.git"},"bugs":{"url":"https://github.com/jonschlinkert/is-valid-glob/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"devDependencies":{"mocha":"*"},"keywords":["array","check","glob","match","pattern","patterns","read","test","valid","validate"],"verb":{"related":{"list":["gulp","vinyl-fs","is-glob","micromatch","braces","fill-range","expand-range","glob-fs"]}},"gitHead":"1db8053be10fcbfbe5e38dd671a7b2660556a8e1","_id":"is-valid-glob@0.3.0","_shasum":"d4b55c69f51886f9b65c70d6c2622d37e29f48fe","_from":".","_npmVersion":"2.10.1","_nodeVersion":"0.12.4","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"d4b55c69f51886f9b65c70d6c2622d37e29f48fe","tarball":"http://nexus.dui88.com:8081/nexus/content/groups/npm-all/is-valid-glob/-/is-valid-glob-0.3.0.tgz"},"directories":{}}},"name":"is-valid-glob","time":{"modified":"2015-10-29T12:34:51.476Z","created":"2015-07-01T04:06:29.393Z","0.1.0":"2015-07-01T04:06:29.393Z","0.1.1":"2015-07-07T10:23:18.215Z","0.2.0":"2015-07-08T02:15:02.060Z","0.3.0":"2015-07-11T09:23:18.190Z"},"readmeFilename":"README.md","homepage":"https://github.com/jonschlinkert/is-valid-glob"}