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