@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
Sponsors & Backers
Made with 💖 by Codinasion