Additional JS String.prototype
method.
https://daddybannk.github.io/capital-case-r2
npm install capital-case-r2
import "capital-case-r2";
const str = "This word is UPPER CASE.";
// ignoreCase = true (default)
console.log(str.toCapitalCase()); // "This Word Is UPPER CASE."
// ignoreCase = false
console.log(str.toCapitalCase(false)); // "This Word Is Upper Case."
npm install --only=dev
npm run test
This project is licensed under the terms of the MIT license.