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