@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
Sponsors & Backers
Made with 💖 by Codinasion