Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

capitalize-sentence

0.1.5 • Public • Published

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

Install

npm i capitalize-sentence

DownloadsWeekly Downloads

1,925

Version

0.1.5

License

MIT

Last publish

Collaborators

  • avatar