Skip to content

andrepolischuk/capitalize-sentence

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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