Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • ChangeCase

Index

Properties

camelCase

camelCase: function
example

changeCase.camelCase('test string') // => 'testString'

Type declaration

    • (value: string): string
    • Parameters

      • value: string

      Returns string

constantCase

constantCase: function
example

changeCase.constantCase('test string') // => 'TEST_STRING'

Type declaration

    • (value: string): string
    • Parameters

      • value: string

      Returns string

dotCase

dotCase: function
example

changeCase.dotCase('test string') // => 'test.string'

Type declaration

    • (value: string): string
    • Parameters

      • value: string

      Returns string

headerCase

headerCase: function
example

changeCase.headerCase('test string') // => 'Test-String'

Type declaration

    • (value: string): string
    • Parameters

      • value: string

      Returns string

lowerCase

lowerCase: function
example

changeCase.lowerCase('TEST STRING') // => 'test string'

Type declaration

    • (value: string): string
    • Parameters

      • value: string

      Returns string

lowerCaseFirst

lowerCaseFirst: function
example

changeCase.lowerCaseFirst('TEST') // => 'tEST'

Type declaration

    • (value: string): string
    • Parameters

      • value: string

      Returns string

paramCase

paramCase: function
example

changeCase.paramCase('test string') // => 'test-string'

Type declaration

    • (value: string): string
    • Parameters

      • value: string

      Returns string

pascalCase

pascalCase: function
example

changeCase.pascalCase('test string') // => 'TestString'

Type declaration

    • (value: string): string
    • Parameters

      • value: string

      Returns string

pathCase

pathCase: function
example

changeCase.pathCase('test string') // => 'test/string'

Type declaration

    • (value: string): string
    • Parameters

      • value: string

      Returns string

sentenceCase

sentenceCase: function
example

changeCase.sentenceCase('testString') // => 'Test string'

Type declaration

    • (value: string): string
    • Parameters

      • value: string

      Returns string

snakeCase

snakeCase: function
example

changeCase.snakeCase('test string') // => 'test_string'

Type declaration

    • (value: string): string
    • Parameters

      • value: string

      Returns string

swapCase

swapCase: function
example

changeCase.swapCase('Test String') // => 'tEST sTRING'

Type declaration

    • (value: string): string
    • Parameters

      • value: string

      Returns string

titleCase

titleCase: function
example

changeCase.titleCase('a simple test') // => 'A Simple Test'

Type declaration

    • (value: string): string
    • Parameters

      • value: string

      Returns string

upperCase

upperCase: function
example

changeCase.upperCase('test string') // => 'TEST STRING'

Type declaration

    • (value: string): string
    • Parameters

      • value: string

      Returns string

upperCaseFirst

upperCaseFirst: function
example

changeCase.upperCaseFirst('test') // => 'Test'

Type declaration

    • (value: string): string
    • Parameters

      • value: string

      Returns string

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc