1.0.0-2 • Published 2 years ago
@codebundlesbyvik/string-operations v1.0.0-2
string-operations
JavaScript helper functions for string operations.
Installation
npm install @codebundlesbyvik/string-operations
Included functions
camelToKebab(string)
Returns given camelCase string in kebab-case.
Parameters
* indicates required
- *
string
(String
): The string to convert.
Usage
import camelToKebab from "@codebundlesbyvik/string-operations";
camelToKebab("convertThis");
// > convert-this
License
MIT © Viktor Chin-Kon-Sung