1.1.0 • Published 8 years ago
string-titlecase v1.1.0
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"