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