Skip to content

chrisbuttery/to-title-case

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Convert a string to a title case.

Resources

Stars

Watchers

Forks

Packages

No packages published