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