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