Transform a string into title case following English rules.
import { titleCase } from "title-case";
titleCase("string"); //=> "String"
titleCase("follow step-by-step instructions"); //=> "Follow Step-by-Step Instructions"
MIT
Name | Name | Last commit date | ||
---|---|---|---|---|
parent directory.. | ||||
Transform a string into title case following English rules.
import { titleCase } from "title-case";
titleCase("string"); //=> "String"
titleCase("follow step-by-step instructions"); //=> "Follow Step-by-Step Instructions"
MIT