@codinasion/constant-case-string-to-header-case-string
Converts a constant case string to a header case string.
Installation
# if you're using pnpm
pnpm add @codinasion/constant-case-string-to-header-case-string
# or, if you're using npm
npm install @codinasion/constant-case-string-to-header-case-string
# or, if you're using yarn
yarn add @codinasion/constant-case-string-to-header-case-string
Usage
import { ConstantCaseStringToHeaderCaseString } from "@codinasion/constant-case-string-to-header-case-string";
const string = "HELLO_WORLD";
console.log(ConstantCaseStringToHeaderCaseString(string));
// Output
// Hello-World
Sponsors & Backers
Made with 💖 by Codinasion