@codinasion/camel-case-string-to-constant-case-string
Converts a camel case string to a constant case string.
Installation
# if you're using pnpm
pnpm add @codinasion/camel-case-string-to-constant-case-string
# or, if you're using npm
npm install @codinasion/camel-case-string-to-constant-case-string
# or, if you're using yarn
yarn add @codinasion/camel-case-string-to-constant-case-string
Usage
import { CamelCaseStringToConstantCaseString } from "@codinasion/camel-case-string-to-constant-case-string";
const string = "helloWorld";
console.log(CamelCaseStringToConstantCaseString(string));
// Output
// HELLO_WORLD
Sponsors & Backers
Made with 💖 by Codinasion