Convert a string to pascal case.
$ component install ianstormtaylor/to-pascal-case
var pascal = require('to-pascal-case');
pascal('space case'); // "SpaceCase"
pascal('snake_case'); // "SnakeCase"
pascal('dot.case'); // "DotCase"
pascal('weird[case'); // "WeirdCase"
Returns the pascal-case variant of a string
.
MIT