UNPKG

property-information

Version:

Info on the properties and attributes of the web platform

13 lines (12 loc) 326 B
/** * 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() }