Pascal case a string. Explicitly adds a single underscore between groups of numbers to keep readability (E.g.
Supports Unicode (non-ASCII characters) and non-string entities, such as objects with a
toString property, numbers and booleans. Empty values (
undefined) will result in an empty string.
npm install pascal-case --save
var pascalCase =//=> "String"//=> "CamelCase"//=> "SentenceCase"//=> "MyStrıng"
Includes a TypeScript definition.