node package manager
We need your input. Help make JavaScript better: Take the 2017 JavaScript Ecosystem survey »

capitalize-sentence

capitalize-sentence Build Status

Capitalize each sentence

Install

npm install --save capitalize-sentence

Usage

import capitalize from 'capitalize-sentence';
 
capitalize('hello world. hello awesome.'); // Hello world. Hello awesome. 

API

capitalize(input)

input

Type: string

Text for transform.

License

MIT