motion
Version:
motion - moving development forward
87 lines (86 loc) • 3.59 kB
JSON
{
"_args": [
[
"multimatch@https://registry.npmjs.org/multimatch/-/multimatch-2.0.0.tgz",
"/Users/nw/flint/packages/flint"
]
],
"_from": "multimatch@2.0.0",
"_id": "multimatch@2.0.0",
"_inCache": true,
"_location": "/multimatch",
"_phantomChildren": {},
"_requested": {
"name": "multimatch",
"raw": "multimatch@https://registry.npmjs.org/multimatch/-/multimatch-2.0.0.tgz",
"rawSpec": "https://registry.npmjs.org/multimatch/-/multimatch-2.0.0.tgz",
"scope": null,
"spec": "https://registry.npmjs.org/multimatch/-/multimatch-2.0.0.tgz",
"type": "remote"
},
"_requiredBy": [
"/gulp-load-plugins"
],
"_resolved": "https://registry.npmjs.org/multimatch/-/multimatch-2.0.0.tgz",
"_shasum": "c5ada425357b744ba54842ebdce1c8f0be542b6f",
"_shrinkwrap": null,
"_spec": "multimatch@https://registry.npmjs.org/multimatch/-/multimatch-2.0.0.tgz",
"_where": "/Users/nw/flint/packages/flint",
"author": {
"email": "sindresorhus@gmail.com",
"name": "Sindre Sorhus",
"url": "http://sindresorhus.com"
},
"bugs": {
"url": "https://github.com/sindresorhus/multimatch/issues"
},
"dependencies": {
"array-differ": "^1.0.0",
"array-union": "^1.0.1",
"minimatch": "^2.0.1"
},
"description": "Extends minimatch.match() with support for multiple patterns",
"devDependencies": {
"chai": "^1.9.1",
"mocha": "*"
},
"engines": {
"node": ">=0.10.0"
},
"files": [
"index.js"
],
"homepage": "https://github.com/sindresorhus/multimatch#readme",
"keywords": [
"expand",
"find",
"glob",
"globbing",
"globs",
"match",
"matcher",
"minimatch",
"pattern",
"patterns",
"wildcard"
],
"license": "MIT",
"maintainers": [
{
"name": "Jon Schlinkert",
"url": "https://github.com/jonschlinkert"
}
],
"name": "multimatch",
"optionalDependencies": {},
"readme": "# multimatch [](https://travis-ci.org/sindresorhus/multimatch)\n\n> Extends [`minimatch.match()`](https://github.com/isaacs/minimatch#minimatchmatchlist-pattern-options) with support for multiple patterns\n\n\n## Install\n\n```sh\n\n$ npm install --save multimatch\n```\n\n\n## Usage\n\n```js\nvar multimatch = require('multimatch');\n\nmultimatch(['unicorn', 'cake', 'rainbows'], ['*', '!cake']);\n//=> ['unicorn', 'rainbows']\n```\n\nSee the [tests](https://github.com/sindresorhus/multimatch/blob/master/test.js) for more usage examples and expected matches.\n\n\n## API\n\nSame as [`minimatch.match()`](https://github.com/isaacs/minimatch#minimatchmatchlist-pattern-options) except for `pattern` also accepting an array.\n\n\n## Globbing patterns\n\nJust a quick overview.\n\n- `*` matches any number of characters, but not `/`\n- `?` matches a single character, but not `/`\n- `**` matches any number of characters, including `/`, as long as it's the only thing in a path part\n- `{}` allows for a comma-separated list of \"or\" expressions\n- `!` at the beginning of a pattern will negate the match\n\n\n## Related\n\nSee [globby](https://github.com/sindresorhus/globby) if you need to match against the filesystem instead of a list.\n\n\n## License\n\nMIT © [Sindre Sorhus](http://sindresorhus.com), [Jon Schlinkert](https://github.com/jonschlinkert)\n",
"readmeFilename": "readme.md",
"repository": {
"type": "git",
"url": "git+https://github.com/sindresorhus/multimatch.git"
},
"scripts": {
"test": "mocha"
},
"version": "2.0.0"
}