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