Options
All
  • Public
  • Public/Protected
  • All
Menu

Class CaseConvert

Converts between all following letter cases:

  • camelCase
  • PascalCase
  • snake_case
  • kebab-case
export
class

CaseConvert

Hierarchy

  • CaseConvert

Index

Methods

Static Private firstToLowerCase

  • firstToLowerCase(input: string): string

Static Private firstToUpperCase

  • firstToUpperCase(input: string): string

Object literals

Static fromCamel

fromCamel: object

uses camelCase as source for conversion

static
memberof

CaseConvert

toKebab

  • toKebab(input: string): string

toPascal

  • toPascal(input: string): string

toSnake

  • toSnake(input: string): string

Static fromKebab

fromKebab: object

uses kebab-case as source for conversion

static
memberof

CaseConvert

toCamel

  • toCamel(input: string): string

toPascal

  • toPascal(input: string): string

toSnake

  • toSnake(input: string): string

Static fromPascal

fromPascal: object

uses PascalCase as source for conversion

static
memberof

CaseConvert

toCamel

  • toCamel(input: string): string

toKebab

  • toKebab(input: string): string

toSnake

  • toSnake(input: string): string

Static fromSnake

fromSnake: object

uses snake_case as source for conversion

static
memberof

CaseConvert

toCamel

  • toCamel(input: string): string

toKebab

  • toKebab(input: string): string

toPascal

  • toPascal(input: string): string

Generated using TypeDoc