/capitalize-word

Capitalize each word

Primary LanguageJavaScriptMIT LicenseMIT

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