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