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