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