scripts/generate-markdown-table.js
function normalizeValue(value) {
  if (Array.isArray(value)) {
    return value;
  }

  if (isPlainObject(value)) {
    return [value];
  }

  return [{ name: value }];
}
function normalizeValue(value) {
  if (Array.isArray(value)) {
    return value;
  }

  if (isPlainObject(value)) {
    return [value];
  }

  return [{ name: value }];
}
props of type 'enum' can be string, e.g. "SCALE_TYPES"
or array of values, e.g., [{ value: 'green' }]
@param {String|Object|Array} value
@return {Array}