UNPKG

pibb

Version:

Private Institutional Bulletin Board - I2I Platform for Private Transactions

26 lines (16 loc) 393 B
# titleize > Capitalize every word in a string: `unicorn cake``Unicorn Cake` ## Install ``` $ npm install titleize ``` ## Usage ```js import titleize from 'titleize'; titleize('foo bar'); //=> 'Foo Bar' titleize('foo-bar'); //=> 'Foo-Bar' ``` ## Related - [camelcase](https://github.com/sindresorhus/camelcase) - Convert a dash/dot/underscore/space separated string to camelcase