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