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