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