to-title-case

Convert a string to title case.

npm install to-title-case
3 downloads in the last day
23 downloads in the last week
107 downloads in the last month

to-title-case

Convert a string to a title case.

Installation

$ component install ianstormtaylor/to-title-case
$ npm install to-title-case

Example

var title = require('to-title-case');

title('the catcher in the rye'); 
// "The Catcher in the Rye"

API

toTitleCase(string)

Returns the title-case variant of a string.

License

MIT

npm loves you