Lower Case First
Transforms the string with only the first character in lower case.
Installation
npm install lower-case-first --save
Usage
import { lowerCaseFirst } from "lower-case-first";
lowerCaseFirst("TEST"); //=> "tEST"
License
MIT
Use input.charAt(0).toLowerCase() + input.slice(1)
Transforms the string with only the first character in lower case
Transforms the string with only the first character in lower case.
npm install lower-case-first --save
import { lowerCaseFirst } from "lower-case-first";
lowerCaseFirst("TEST"); //=> "tEST"
MIT