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