Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    to-sentence-casepublic

    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

    install

    npm i to-sentence-case

    Downloadslast 7 days

    6,594

    version

    1.0.0

    license

    MIT

    repository

    github.com

    last publish

    collaborators

    • avatar