@codinasion/camel-case-string-to-kebab-case-string
v1.0.3
Published
Converts a camel case string to a kebab case string
Downloads
2
Maintainers
Readme
@codinasion/camel-case-string-to-kebab-case-string
Converts a camel case string to a kebab case string.
Installation
# if you're using pnpm
pnpm add @codinasion/camel-case-string-to-kebab-case-string
# or, if you're using npm
npm install @codinasion/camel-case-string-to-kebab-case-string
# or, if you're using yarn
yarn add @codinasion/camel-case-string-to-kebab-case-string
Usage
import { CamelCaseStringToKebabCaseString } from "@codinasion/camel-case-string-to-kebab-case-string";
const string = "helloWorld";
console.log(CamelCaseStringToKebabCaseString(string));
// Output
// hello-world