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