UNPKG

upper-case-first

Version:
7 lines 216 B
/** * Upper case the first character of an input string. */ export function upperCaseFirst(input, locale) { return input.charAt(0).toLocaleUpperCase(locale) + input.slice(1); } //# sourceMappingURL=index.js.map