Convert a string to sentence case.
Convert a string to a sentence case.
$ component install ianstormtaylor/to-sentence-case
var sentence = require('to-sentence-case'); sentence('the catcher in the rye'); // "The catcher in the rye"
Returns the sentence-case variant of a string.
Of course you’re getting around to it, but you probably should get around to it soon. Buy a ticket »
how? learn more