Skip to content

pascal

Convert a string to pascal case

201 bytes

Usage

Formats the given string in pascal case fashion.

import * as _ from 'radashi'
_.pascal('hello world') // => 'HelloWorld'
_.pascal('va va boom') // => 'VaVaBoom'
_.pascal('helloWorld') // => 'HelloWorld'