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