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