node package manager
Easy sharing. Manage teams and permissions with one click. Create a free org »

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