Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
ianstormtaylor committed Jan 21, 2016
1 parent e2bf1d1 commit b82f61e
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions Readme.md
Expand Up @@ -14,13 +14,13 @@ $ npm install to-capital-case
## Example

```js
var capital = require('to-capital-case');
var toCapitalCase = require('to-capital-case')

capital('camelCase'); // "Camel Case"
capital('space case'); // "Space Case"
capital('snake_case'); // "Snake Case"
capital('dot.case'); // "Dot Case"
capital('some*weird[case'); // "Some Weird Case"
toCapitalCase('camelCase') // "Camel Case"
toCapitalCase('space case') // "Space Case"
toCapitalCase('snake_case') // "Snake Case"
toCapitalCase('dot.case') // "Dot Case"
toCapitalCase('some*weird[case') // "Some Weird Case"
```


Expand Down

0 comments on commit b82f61e

Please sign in to comment.