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