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