Upper Case First
Transforms the string with the first character in upper cased.
Installation
npm install upper-case-first --save
Usage
import { upperCaseFirst } from "upper-case-first";
upperCaseFirst("test"); //=> "Test"
License
MIT
Use input.charAt(0).toUpperCase() + input.slice(1)
Transforms the string with the first character in upper cased
Transforms the string with the first character in upper cased.
npm install upper-case-first --save
import { upperCaseFirst } from "upper-case-first";
upperCaseFirst("test"); //=> "Test"
MIT