Skip to content

pascalCase

Transform a string to PascalCase.

Usage

js
import { pascalCase } from '@studiometa/js-toolkit/utils';

pascalCase('Some String Content'); // SomeStringContent

Params

  • string (string): The string to transform.

Return value

  • string: The transformed string.

MIT Licensed