toPascalCase

Creates a to pascal case transformation action.

Words are separated by _, - and ASCII whitespace, as well as by case and acronym boundaries.

Acronym runs are normalized to lowercase (e.g. parseURLValueParseUrlValue) and digits stay attached to the preceding token (e.g. item2NameItem2Name).

const Action = v.toPascalCase();

Returns

Examples

The following examples show how toPascalCase can be used.

Pascal case string

Schema that transforms a string to pascal case.

const StringSchema = v.pipe(v.string(), v.toPascalCase());

The following APIs can be combined with toPascalCase.

Schemas

Methods

Utils

Contributors

Thanks to all the contributors who helped make this page better!

  • GitHub profile picture of @fabian-hiller

Partners

Thanks to our partners who support the project ideally and financially.

Sponsors

Thanks to our GitHub sponsors who support the project financially.

  • GitHub profile picture of @vasilii-kovalev
  • GitHub profile picture of @UpwayShop
  • GitHub profile picture of @ruiaraujo012
  • GitHub profile picture of @hyunbinseo
  • GitHub profile picture of @nickytonline
  • GitHub profile picture of @kibertoad
  • GitHub profile picture of @caegdeveloper
  • GitHub profile picture of @Thanaen
  • GitHub profile picture of @bmoyroud
  • GitHub profile picture of @ysknsid25
  • GitHub profile picture of @dslatkin