to-sentence-case

1.0.0 • Public • Published

to-sentence-case

Convert a string to a sentence case.

Installation

$ component install ianstormtaylor/to-sentence-case

Example

var sentence = require('to-sentence-case');
 
sentence('the catcher in the rye'); 
// "The catcher in the rye"

API

toSentenceCase(string)

Returns the sentence-case variant of a string.

License

MIT

/to-sentence-case/

    Package Sidebar

    Install

    npm i to-sentence-case

    Weekly Downloads

    14,221

    Version

    1.0.0

    License

    MIT

    Last publish

    Collaborators

    • ianstormtaylor