📄 normalize.js
/home/palash/git/site/node_modules/property-information/lib/normalize.js
Language: js • Lines: 12
/**
 * Get the cleaned case insensitive form of an attribute or property.
 *
 * @param {string} value
 *   An attribute-like or property-like name.
 * @returns {string}
 *   Value that can be used to look up the properly cased property on a
 *   `Schema`.
 */
export function normalize(value) {
  return value.toLowerCase()
}