Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

lodash pascal case

import {camelCase, toUpper} from 'lodash';

const pascalCase = str => camelCase(str).replace(/^(.)/, toUpper)
 
PREVIOUS NEXT
Tagged: #lodash #pascal #case
ADD COMMENT
Topic
Name
8+1 =