{
  "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"
  ],
  "readme": "# matchdep [![Build Status](https://secure.travis-ci.org/tkellen/node-matchdep.png?branch=master)](http://travis-ci.org/tkellen/node-matchdep)\n\n> Use [globule] to filter npm module dependencies by name.\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.filterDev('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 [globule] 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* 2013-10-09 - v0.3 - support multiple pattern matches using [globule]\n* 2013-10-08 - v0.2 - refactor and support filtering peerDependencies\n* 2012-11-27 - v0.1 - initial release\n\n\n[globule]: https://github.com/cowboy/node-globule\n",
  "readmeFilename": "README.md",
  "_id": "matchdep@0.3.0",
  "_from": "matchdep@"
}
