Skip to content

vutran/pascalize

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pascalize

Turns a string into PascalCase.

Install

$ npm i -S pascalize

# or with yarn

$ yarn add pascalize

Usage

import pascalize from 'pascalize';

pascalize('foo bar');
// -> FooBar

pascalize('john-smith');
// -> JohnSmith

License

MIT © Vu Tran