@codinasion/string-to-kebab-case
TypeScript icon, indicating that this package has built-in type declarations

1.0.3 • Public • Published

@codinasion/string-to-kebab-case

Converts a string to kebab case.

NPM Version Downloads LICENSE

rainbow hr

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
rainbow hr

Usage

import { StringToKebabCase } from "@codinasion/string-to-kebab-case";

const string = "hello world";
console.log(StringToKebabCase(string));

// Output
// hello-world
rainbow hr

Sponsors & Backers

Sponsors

rainbow hr

Made with 💖 by Codinasion

rainbow hr

Dependencies (0)

    Dev Dependencies (8)

    Package Sidebar

    Install

    npm i @codinasion/string-to-kebab-case

    Weekly Downloads

    2

    Version

    1.0.3

    License

    MIT

    Unpacked Size

    5.11 kB

    Total Files

    5

    Last publish

    Collaborators

    • harshraj8843