code: function getHighlightingProxy(item, match, document) {
    var proxy = {};
    Object.defineProperties(proxy, {
      highlight: {
        get: function() {
          if (!match) {
            return item.name;
          }
  
          var value = item.name;
          var startMatch = value.indexOf(match);
          if (startMatch === -1) {
            return value;
          }
  
          var before = value.substr(0, startMatch);
          var after = value.substr(startMatch + match.length);
          var parent = util.createElement(document, 'span');
          parent.appendChild(document.createTextNode(before));
          var highlight = util.createElement(document, 'span');
          highlight.classList.add('gcli-menu-typed');
          highlight.appendChild(document.createTextNode(match));
          parent.appendChild(highlight);
          parent.appendChild(document.createTextNode(after));
          return parent;
        },
        enumerable: true
      },
  
      name: {
        value: item.name,
        enumerable: true
      },
  
      manual: {
        value: item.manual,
        enumerable: true
      },
  
      description: {
        value: item.description,
        enumerable: true
      }
    });
    return proxy;
  }
docs: Create a proxy around an item that highlights matching text