Use minimatch to filter npm module dependencies by name.