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