code: function matches (path) {
        if (type(ignores) === TYPES.STRING) {
          return path.search(ignores) > -1;
        } else if (type(ignores) === TYPES.REGEXP) {
          return ignores.test(path);
        } else {
          return ignores.some(function (ignore) {
            return type(ignore) === TYPES.STRING ? (path.search(ignore) > -1) : ignore.test(path);
          });
        }
      }
docs: Filter function to test module paths, ignores can be array[string|regexp]|string|regexp
  @param {string} path - module path