UNPKG

property-information

Version:

Info on the properties and attributes of the web platform

14 lines (12 loc) 367 B
import {caseSensitiveTransform} from './case-sensitive-transform.js' /** * @param {Record<string, string>} attributes * Attributes. * @param {string} property * Property. * @returns {string} * Transformed property. */ export function caseInsensitiveTransform(attributes, property) { return caseSensitiveTransform(attributes, property.toLowerCase()) }