1.1.0 • Published 8 years ago

string-titlecase v1.1.0

Weekly downloads
3
License
MIT
Repository
github
Last release
8 years ago

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"