lodash pascal case

JavaScript
import {camelCase, toUpper} from 'lodash';

const pascalCase = str => camelCase(str).replace(/^(.)/, toUpper)
Source

Also in JavaScript: