1.0.0 • Published 2 years ago

@uniquedj95/caseplus v1.0.0

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

Caseplus

A typescript library for converting string cases

Get Started

Install the package by running the following commands

npm install @uniquedj95/caseplus

Or

yarn add @uniquedj95/caseplus

Examples

  1. convert underscore cased string to pascal cased string
import { underscoreToPascal } from '@uniquedj95/caseplus'

console.log(underscoreToPascal('my_variable'))
// MyVariable

API References

Function NameDescription
underscoreToPascalA function that convert an underscore_cased string to PascalCased string
camelToUnderscoreA function that convert an camelCased string to underscore_cased string

Contributions

Issues

Roadmap