{"_id":"matchdep","_rev":"72284","name":"matchdep","description":"Use micromatch to filter npm module dependencies by name.","dist-tags":{"latest":"2.0.0"},"maintainers":[{"name":"phated","email":"blaine.bublitz@gmail.com"},{"name":"tkellen","email":"tyler@sleekcode.net"}],"time":{"modified":"2021-06-03T10:23:42.000Z","created":"2012-11-27T19:15:17.137Z","2.0.0":"2017-08-18T23:12:06.959Z","1.0.1":"2016-02-09T18:11:50.007Z","1.0.0":"2015-09-27T21:10:07.073Z","0.3.0":"2013-10-09T15:35:42.444Z","0.2.0":"2013-10-09T04:02:09.161Z","0.1.2":"2013-04-07T19:45:40.697Z","0.1.1":"2012-11-27T20:06:09.570Z","0.1.0":"2012-11-27T19:15:17.137Z"},"users":{"gummesson":true,"otravers":true,"adrianorosa":true,"lexa":true,"tpwk":true,"alfredbez":true,"tunnckocore":true,"fassetar":true,"jhabdas":true,"christopher.urquidi":true,"mustak":true,"taraman":true,"yajinn":true,"karlbateman":true,"wujipai":true,"ugarz":true},"author":{"name":"Tyler Kellen","url":"http://goingslowly.com/"},"repository":{"type":"git","url":"git://github.com/tkellen/js-matchdep.git"},"versions":{"2.0.0":{"name":"matchdep","description":"Use micromatch to filter npm module dependencies by name.","version":"2.0.0","homepage":"https://github.com/tkellen/js-matchdep","author":{"name":"Tyler Kellen","url":"http://goingslowly.com/"},"repository":{"type":"git","url":"git://github.com/tkellen/js-matchdep.git"},"bugs":{"url":"https://github.com/tkellen/js-matchdep/issues"},"license":"MIT","main":"lib/matchdep","engines":{"node":">= 0.10.0"},"scripts":{"test":"grunt"},"dependencies":{"findup-sync":"^2.0.0","micromatch":"^3.0.4","resolve":"^1.4.0","stack-trace":"0.0.10"},"devDependencies":{"grunt":"^1.0.1","grunt-contrib-jshint":"^1.1.0","grunt-contrib-nodeunit":"^1.0.0"},"keywords":["package.json","dependencies","devDependencies","peerDependencies"],"gitHead":"5d2e1bc61127ec6d0c95019a234daca40d2cb830","_id":"matchdep@2.0.0","_shasum":"c6f34834a0d8dbc3b37c27ee8bbcb27c7775582e","_from":".","_npmVersion":"2.15.1","_nodeVersion":"0.10.48","_npmUser":{"name":"phated","email":"blaine.bublitz@gmail.com"},"maintainers":[{"name":"phated","email":"blaine.bublitz@gmail.com"},{"name":"tkellen","email":"tyler@sleekcode.net"}],"dist":{"shasum":"c6f34834a0d8dbc3b37c27ee8bbcb27c7775582e","size":3181,"noattachment":false,"key":"/matchdep/-/matchdep-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/matchdep/download/matchdep-2.0.0.tgz"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/matchdep-2.0.0.tgz_1503097926853_0.7103664372116327"},"directories":{},"publish_time":1503097926959,"_hasShrinkwrap":false,"_cnpm_publish_time":1503097926959},"1.0.1":{"name":"matchdep","description":"Use globule to filter npm module dependencies by name.","version":"1.0.1","homepage":"https://github.com/tkellen/node-matchdep","author":{"name":"Tyler Kellen","url":"http://goingslowly.com/"},"repository":{"type":"git","url":"git://github.com/tkellen/node-matchdep.git"},"bugs":{"url":"https://github.com/tkellen/node-matchdep/issues"},"license":"MIT","main":"lib/matchdep","engines":{"node":">= 0.10.0"},"scripts":{"test":"grunt"},"dependencies":{"findup-sync":"~0.3.0","micromatch":"^2.3.7","resolve":"~1.1.6","stack-trace":"0.0.9"},"devDependencies":{"grunt":"~0.4.1","grunt-contrib-jshint":"~0.11.3","grunt-contrib-nodeunit":"~0.4.1"},"keywords":["package.json","dependencies","devDependencies","peerDependencies"],"gitHead":"c0eb918c1838c89b6bdf5ce4295f3ec37398f7b0","_id":"matchdep@1.0.1","_shasum":"a57a33804491fbae208aba8f68380437abc2dca5","_from":".","_npmVersion":"2.14.14","_nodeVersion":"0.10.41","_npmUser":{"name":"phated","email":"blaine@iceddev.com"},"maintainers":[{"name":"phated","email":"blaine.bublitz@gmail.com"},{"name":"tkellen","email":"tyler@sleekcode.net"}],"dist":{"shasum":"a57a33804491fbae208aba8f68380437abc2dca5","size":3142,"noattachment":false,"key":"/matchdep/-/matchdep-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/matchdep/download/matchdep-1.0.1.tgz"},"_npmOperationalInternal":{"host":"packages-9-west.internal.npmjs.com","tmp":"tmp/matchdep-1.0.1.tgz_1455041508660_0.4558634457644075"},"directories":{},"publish_time":1455041510007,"_cnpm_publish_time":1455041510007,"_hasShrinkwrap":false},"1.0.0":{"name":"matchdep","description":"Use globule to filter npm module dependencies by name.","version":"1.0.0","homepage":"https://github.com/tkellen/node-matchdep","author":{"name":"Tyler Kellen","url":"http://goingslowly.com/"},"repository":{"type":"git","url":"git://github.com/tkellen/node-matchdep.git"},"bugs":{"url":"https://github.com/tkellen/node-matchdep/issues"},"license":"MIT","main":"lib/matchdep","engines":{"node":">= 0.10.0"},"scripts":{"test":"grunt"},"dependencies":{"findup-sync":"~0.3.0","resolve":"~1.1.6","stack-trace":"0.0.9","globule":"~0.2.0"},"devDependencies":{"grunt-contrib-jshint":"~0.11.3","grunt-contrib-nodeunit":"~0.4.1","grunt":"~0.4.1"},"keywords":["package.json","dependencies","devDependencies","peerDependencies"],"gitHead":"ab091080984d8477a1eb3fd1cb07058e60cacf58","_id":"matchdep@1.0.0","_shasum":"ef0f13a8ffd8622be23764b089335134ec9a8380","_from":".","_npmVersion":"2.14.3","_nodeVersion":"0.10.36","_npmUser":{"name":"phated","email":"blaine@iceddev.com"},"maintainers":[{"name":"phated","email":"blaine.bublitz@gmail.com"},{"name":"tkellen","email":"tyler@sleekcode.net"}],"dist":{"shasum":"ef0f13a8ffd8622be23764b089335134ec9a8380","size":3090,"noattachment":false,"key":"/matchdep/-/matchdep-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/matchdep/download/matchdep-1.0.0.tgz"},"directories":{},"publish_time":1443388207073,"_cnpm_publish_time":1443388207073,"_hasShrinkwrap":false},"0.3.0":{"name":"matchdep","description":"Use globule to filter npm module dependencies by name.","version":"0.3.0","homepage":"https://github.com/tkellen/node-matchdep","author":{"name":"Tyler Kellen","url":"http://goingslowly.com/"},"repository":{"type":"git","url":"git://github.com/tkellen/node-matchdep.git"},"bugs":{"url":"https://github.com/tkellen/node-matchdep/issues"},"licenses":[{"type":"MIT","url":"https://github.com/tkellen/node-matchdep/blob/master/LICENSE-MIT"}],"main":"lib/matchdep","engines":{"node":">= 0.8.0"},"scripts":{"test":"grunt"},"dependencies":{"findup-sync":"~0.1.2","resolve":"~0.5.1","stack-trace":"0.0.7","globule":"~0.1.0"},"devDependencies":{"grunt-contrib-jshint":"~0.6.4","grunt-contrib-nodeunit":"~0.2.1","grunt":"~0.4.1"},"keywords":["package.json","dependencies","devDependencies","peerDependencies"],"readmeFilename":"README.md","_id":"matchdep@0.3.0","dist":{"shasum":"428e649ce5c2818d220e0463eff5c0de9e59d52e","size":3004,"noattachment":false,"key":"/matchdep/-/matchdep-0.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/matchdep/download/matchdep-0.3.0.tgz"},"_from":".","_npmVersion":"1.2.15","_npmUser":{"name":"tkellen","email":"tyler@sleekcode.net"},"maintainers":[{"name":"phated","email":"blaine.bublitz@gmail.com"},{"name":"tkellen","email":"tyler@sleekcode.net"}],"directories":{},"publish_time":1381332942444,"_hasShrinkwrap":false,"_cnpm_publish_time":1381332942444},"0.2.0":{"name":"matchdep","description":"Use minimatch to filter npm module dependencies by name.","version":"0.2.0","homepage":"https://github.com/tkellen/node-matchdep","author":{"name":"Tyler Kellen","url":"http://goingslowly.com/"},"repository":{"type":"git","url":"git://github.com/tkellen/node-matchdep.git"},"bugs":{"url":"https://github.com/tkellen/node-matchdep/issues"},"licenses":[{"type":"MIT","url":"https://github.com/tkellen/node-matchdep/blob/master/LICENSE-MIT"}],"main":"lib/matchdep","engines":{"node":">= 0.8.0"},"scripts":{"test":"./node_modules/.bin/grunt nodeunit"},"dependencies":{"minimatch":"~0.2.9"},"devDependencies":{"grunt-contrib-jshint":"~0.6.4","grunt-contrib-nodeunit":"~0.2.1","grunt":"~0.4.1","grunt-cli":"~0.1.9"},"keywords":["package.json","dependencies","devDependencies","peerDependencies"],"readmeFilename":"README.md","_id":"matchdep@0.2.0","dist":{"shasum":"210a2e2f39e7723d8491d80c315240fdc0e889b7","size":2513,"noattachment":false,"key":"/matchdep/-/matchdep-0.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/matchdep/download/matchdep-0.2.0.tgz"},"_from":".","_npmVersion":"1.2.15","_npmUser":{"name":"tkellen","email":"tyler@sleekcode.net"},"maintainers":[{"name":"phated","email":"blaine.bublitz@gmail.com"},{"name":"tkellen","email":"tyler@sleekcode.net"}],"directories":{},"publish_time":1381291329161,"_hasShrinkwrap":false,"_cnpm_publish_time":1381291329161},"0.1.2":{"name":"matchdep","description":"Use minimatch to filter npm module dependencies by name.","version":"0.1.2","homepage":"https://github.com/tkellen/node-matchdep","author":{"name":"Tyler Kellen","url":"http://goingslowly.com/"},"repository":{"type":"git","url":"git://github.com/tkellen/node-matchdep.git"},"bugs":{"url":"https://github.com/tkellen/node-matchdep/issues"},"licenses":[{"type":"MIT","url":"https://github.com/tkellen/node-matchdep/blob/master/LICENSE-MIT"}],"main":"lib/matchdep","engines":{"node":">= 0.8.0"},"scripts":{"test":"./node_modules/.bin/grunt nodeunit"},"dependencies":{"minimatch":"~0.2.9"},"devDependencies":{"grunt-contrib-jshint":"~0.1.0","grunt-contrib-nodeunit":"~0.1.0","grunt":"~0.4.0a","grunt-cli":"~0.1.1"},"keywords":[],"readmeFilename":"README.md","_id":"matchdep@0.1.2","dist":{"shasum":"2f539f081d069f3205a31e6153739bfd13c662c6","size":2370,"noattachment":false,"key":"/matchdep/-/matchdep-0.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/matchdep/download/matchdep-0.1.2.tgz"},"_from":".","_npmVersion":"1.2.15","_npmUser":{"name":"tkellen","email":"tyler@sleekcode.net"},"maintainers":[{"name":"phated","email":"blaine.bublitz@gmail.com"},{"name":"tkellen","email":"tyler@sleekcode.net"}],"directories":{},"publish_time":1365363940697,"_hasShrinkwrap":false,"_cnpm_publish_time":1365363940697},"0.1.1":{"name":"matchdep","description":"Use minimatch to filter npm module dependencies by name.","version":"0.1.1","homepage":"https://github.com/tkellen/node-matchdep","author":{"name":"Tyler Kellen","url":"http://goingslowly.com/"},"repository":{"type":"git","url":"git://github.com/tkellen/node-matchdep.git"},"bugs":{"url":"https://github.com/tkellen/node-matchdep/issues"},"licenses":[{"type":"MIT","url":"https://github.com/tkellen/node-matchdep/blob/master/LICENSE-MIT"}],"main":"lib/matchdep","engines":{"node":">= 0.8.0"},"scripts":{"test":"./node_modules/.bin/grunt test"},"dependencies":{"minimatch":"~0.2.9"},"devDependencies":{"grunt-contrib-jshint":"~0.1.0","grunt-contrib-nodeunit":"~0.1.0","grunt":"~0.4.0a","grunt-cli":"~0.1.1"},"keywords":[],"readmeFilename":"README.md","_id":"matchdep@0.1.1","dist":{"shasum":"0d031f0798f9eedf455a821ac16961da78a0e496","size":2665,"noattachment":false,"key":"/matchdep/-/matchdep-0.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/matchdep/download/matchdep-0.1.1.tgz"},"_npmVersion":"1.1.65","_npmUser":{"name":"tkellen","email":"tyler@sleekcode.net"},"maintainers":[{"name":"phated","email":"blaine.bublitz@gmail.com"},{"name":"tkellen","email":"tyler@sleekcode.net"}],"directories":{},"publish_time":1354046769570,"_hasShrinkwrap":false,"_cnpm_publish_time":1354046769570},"0.1.0":{"name":"matchdep","description":"Use minimatch to filter npm module dependencies by name.","version":"0.1.0","homepage":"https://github.com/tkellen/node-matchdep","author":{"name":"Tyler Kellen","url":"http://goingslowly.com/"},"repository":{"type":"git","url":"git://github.com/tkellen/node-matchdep.git"},"bugs":{"url":"https://github.com/tkellen/node-matchdep/issues"},"licenses":[{"type":"MIT","url":"https://github.com/tkellen/node-matchdep/blob/master/LICENSE-MIT"}],"main":"lib/matchdep","engines":{"node":">= 0.8.0"},"scripts":{"test":"./node_modules/.bin/grunt test"},"dependencies":{"minimatch":"~0.2.9"},"devDependencies":{"grunt-contrib-jshint":"~0.1.0","grunt-contrib-nodeunit":"~0.1.0","grunt":"~0.4.0a","grunt-cli":"~0.1.1"},"keywords":[],"readmeFilename":"README.md","_id":"matchdep@0.1.0","dist":{"shasum":"4f4a9c10f5e04540e0df1f91a6c9c9357209a557","size":2348,"noattachment":false,"key":"/matchdep/-/matchdep-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/matchdep/download/matchdep-0.1.0.tgz"},"_npmVersion":"1.1.65","_npmUser":{"name":"tkellen","email":"tyler@sleekcode.net"},"maintainers":[{"name":"phated","email":"blaine.bublitz@gmail.com"},{"name":"tkellen","email":"tyler@sleekcode.net"}],"directories":{},"publish_time":1354043717137,"_hasShrinkwrap":false,"_cnpm_publish_time":1354043717137}},"readme":"# matchdep [![Build Status](https://secure.travis-ci.org/tkellen/js-matchdep.svg?branch=master)](http://travis-ci.org/tkellen/js-matchdep)\n> Use [micromatch] to filter npm module dependencies by name.\n\n[![NPM](https://nodei.co/npm/matchdep.png)](https://nodei.co/npm/matchdep/)\n\n## Examples\n\n```js\nvar matchdep = require('matchdep');\n\n// Filter dependencies (by autoloading nearest package.json)\nmatchdep.filter('mini*');\n\n// Filter devDependencies (with config string indicating file to be required)\nmatchdep.filterDev('grunt-contrib-*', './package.json');\n\n// Filter peerDependencies (with config string indicating file to be required)\nmatchdep.filterPeer('foo-{bar,baz}', './some-other.json');\n\n// Filter all dependencies (with explicit config provided)\nmatchdep.filterAll('*', require('./yet-another.json'));\n\n// Filter all dependencies, exclude grunt (multiple matching patterns)\nmatchdep.filterAll(['*','!grunt']);\n```\n\n## Usage\n\n```js\nfilter(pattern, config)\nfilterDev(pattern, config)\nfilterPeer(pattern, config)\nfilterAll(pattern, config)\n```\n\n### pattern\nType: `String|Array`\nDefault: 'none'\n\nA [micromatch] compatible match pattern to filter dependencies.\n\n### config\nType: `String` or `Object`\nDefault: Path to nearest package.json.\n\nIf config is a string, matchdep will attempt to require it.  If it is an object, it will be used directly.\n\n## Release History\n\n* 2017-08-18 - v2.0.0 - Upgrade major versions of dependencies, Upgrade devDeps\n* 2016-02-09 - v1.0.1 - switch to [micromatch], remove [globule]\n* 2015-09-27 - v1.0.0 - throw when no package.json found, update dependencies, remove node 0.8 support\n* 2013-10-09 - v0.3.0 - support multiple pattern matches using [globule]\n* 2013-10-08 - v0.2.0 - refactor and support filtering peerDependencies\n* 2012-11-27 - v0.1.0 - initial release\n\n\n[globule]: https://github.com/cowboy/node-globule\n[micromatch]: https://github.com/jonschlinkert/micromatch\n","_attachments":{},"homepage":"https://github.com/tkellen/js-matchdep","bugs":{"url":"https://github.com/tkellen/js-matchdep/issues"},"license":"MIT"}