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