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