@mnrendra/types-camelcase
v1.0.0
Published
TypeScript utility type for converting a string type to camel case.
Downloads
3
Maintainers
Readme
@mnrendra/types-camelcase
TypeScript utility type for converting a string type to camel case.
Install
npm i -D @mnrendra/types-camelcase
Usage
import type { CamelCase } from '@mnrendra/types-camelcase'
type Uppercase = 'UpperCase'
type Camelcase = CamelCase<Uppercase>
const camelcase: Camelcase = 'upperCase'
console.log(camelcase)
Types
import type {
CamelCase // A utility type for converting a string type to camel case.
} from '@mnrendra/types-camelcase'