Skip to content

andrepolischuk/capitalize-word

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

capitalize-word Build Status

Capitalize each word

Install

npm install --save capitalize-word

Usage

import capitalize from 'capitalize-word';

capitalize('hello world'); // Hello World

API

capitalize(input)

input

Type: string

Text for transform.

License

MIT