1.0.3 • Published 11 months ago
@codinasion/string-to-kebab-case v1.0.3
@codinasion/string-to-kebab-case
Converts a string to kebab case.
Installation
# if you're using pnpm
pnpm add @codinasion/string-to-kebab-case
# or, if you're using npm
npm install @codinasion/string-to-kebab-case
# or, if you're using yarn
yarn add @codinasion/string-to-kebab-case
Usage
import { StringToKebabCase } from "@codinasion/string-to-kebab-case";
const string = "hello world";
console.log(StringToKebabCase(string));
// Output
// hello-world