text-title-case
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

Title Case

NPM version NPM downloads Bundle size

Transform a text into title case following English rules.

Installation

npm install text-title-case --save

Usage

import { titleCase } from "text-title-case";
 
titleCase("string"); //=> "String"
titleCase("follow step-by-step instructions"); //=> "Follow Step-by-Step Instructions"

License

MIT

Package Sidebar

Install

npm i text-title-case

Weekly Downloads

2,023

Version

1.0.2

License

MIT

Unpacked Size

6.91 kB

Total Files

7

Last publish

Collaborators

  • dimetrix