code: function formatUserJSHeader(metadata) {
    const JSmeta = JSON.parse(JSON.stringify(metadata)); // Local copy
  
    let header = '';
    header += '// ==UserScript==\n';
  
    Object.keys(userstyleSpec).forEach(prop => {
      const value = _safePropGet(prop, JSmeta);
      if (value && _isAllowedJSMetaProp(prop)) {
        if (prop === 'match') {
          value.forEach(include => {
            header += `// @${_padPropName('include', longestPropLength)} ${include}\n`;
          });
        } else {
          header += `// @${_padPropName(prop, longestPropLength)} ${JSmeta[prop]}\n`;
        }
      }
    });
  
    header += '// ==/UserScript==\n';
    return header;
  }
docs: /*
  
  === setup user.js conversion ===