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