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