Case Lodash Pascal
import {camelCase, toUpper} from 'lodash';
const pascalCase = str => camelCase(str).replace(/^(.)/, toUpper)
Famous Flatworm
import {camelCase, toUpper} from 'lodash';
const pascalCase = str => camelCase(str).replace(/^(.)/, toUpper)