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