JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 585094
  • Score
    100M100P100Q185825F

Use minimatch to filter npm module dependencies by name.

Package Exports

  • matchdep

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (matchdep) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

matchdep

Use minimatch to filter npm module dependencies by name.

Usage

var matchdep = require('matchdep');

// Filter dependencies
matchdep.filter(require('./package.json'), 'grunt-contrib*');

// Filter devDependencies
matchdep.filterDev(require('./package.json'), 'mini*');

// Filter all dependencies
matchdep.filterAll(require('./package.json'), '*');

Copyright (c) 2012 Tyler Kellen. See LICENSE for further details.