code: function getPaths ($refs, types) {
    var paths = Object.keys($refs);
  
    // Filter the paths by type
    types = Array.isArray(types[0]) ? types[0] : Array.prototype.slice.call(types);
    if (types.length > 0 && types[0]) {
      paths = paths.filter(function (key) {
        return types.indexOf($refs[key].pathType) !== -1;
      });
    }
  
    // Decode local filesystem paths
    return paths.map(function (path) {
      return {
        encoded: path,
        decoded: $refs[path].pathType === "file" ? url.toFileSystemPath(path, true) : path
      };
    });
  }
docs: Returns the encoded and decoded paths keys of the given object.
  
  @param {object} $refs - The object whose keys are URL-encoded paths
  @param {...string|string[]} [types] - Only return paths of the given types ("file", "http", etc.)
  @returns {object[]}