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