string-titlecase
v1.1.0
Published
Convert strings of words into titlecase.
Downloads
7
Readme
String-Titlecase
A reinvention of the titlecase method for the String prototype.
Usage
require('string-titlecase')
'THE QUICK BROWN FOX'.titlecase() //=> "The Quick Brown Fox"
'the quick and brown fox'.titlecase() //=> "The Quick and Brown Fox"
'sHoRt AnD sToUt'.titlecase() //=> "Short and Stout"