Methods
# (static) camelToKebab(string) → {string}
Converts a string from camel case to kebap case.
Parameters:
Name | Type | Description |
---|---|---|
string |
string | The string to convert |
- Tutorials:
Returns:
The converted string
- Type
- string
# (static) camelToSnake(string) → {string}
Converts a string from camel case to snake case.
Parameters:
Name | Type | Description |
---|---|---|
string |
string | The string to convert |
- Tutorials:
Returns:
The converted string
- Type
- string
# (static) kebabToCamel(string) → {string}
Converts a string from kebap case to camel case.
Parameters:
Name | Type | Description |
---|---|---|
string |
string | The string to convert |
- Tutorials:
Returns:
The converted string
- Type
- string
# (static) kebabToSnake(string) → {string}
Converts a string from kebap case to snake case.
Parameters:
Name | Type | Description |
---|---|---|
string |
string | The string to convert |
- Tutorials:
Returns:
The converted string
- Type
- string
# (static) lcfirst(string) → {string}
Converts the first character of a string to lowercase.
Parameters:
Name | Type | Description |
---|---|---|
string |
string | The string to convert |
- Tutorials:
Returns:
The converted string
- Type
- string
# (static) snakeToCamel(string) → {string}
Converts a string from snake case to camel case.
Parameters:
Name | Type | Description |
---|---|---|
string |
string | The string to convert |
- Tutorials:
Returns:
The converted string
- Type
- string
# (static) snakeToKebab(string) → {string}
Converts a string from snake case to kebap case.
Parameters:
Name | Type | Description |
---|---|---|
string |
string | The string to convert |
- Tutorials:
Returns:
The converted string
- Type
- string
# (static) ucfirst(string) → {string}
Converts the first character of a string to uppercase.
Parameters:
Name | Type | Description |
---|---|---|
string |
string | The string to convert |
- Tutorials:
Returns:
The converted string
- Type
- string