How to use the upper-case-first.upperCaseFirst function in upper-case-first

To help you get started, we’ve selected a few upper-case-first examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github blakeembrey / change-case / packages / capital-case / src / index.ts View on Github external
export function capitalCaseTransform(input: string) {
  return upperCaseFirst(input.toLowerCase());
}
github u-wave / web / src / components / UserRole / index.js View on Github external
function UserRole({ roleName }) {
  const { t } = useTranslator();

  return (
    
      {t(`roles.${roleName}`, { defaultValue: upperCaseFirst(roleName) })}
    
  );
}

upper-case-first

Transforms the string with the first character in upper cased

MIT
Latest version published 1 year ago

Package Health Score

61 / 100
Full package analysis

Popular upper-case-first functions