UpperCamelCase
Convert a dash/dot/underscore/space separated string to UpperCamelCase:
foo-bar
→FooBar
Install
$ npm install --save uppercamelcase
Usage
const upperCamelCase = ; ;//=> FooBar ;//=> FooBar ;//=> FooBar ;//=> FooBar ;//=> FooBar ;//=> FooBar console;//=> --foo-bar;//=> FooBar ;//=> 'FooBar' ;//=> 'FooBar'
Related
camelcase
- The lowerCamelCase variant
License
MIT © Sam Verschueren