1.0.1 • Published 4 years ago
kebab-to-camel v1.0.1
Install
$ npm i kebab-to-camelExample
import { kebabToCamel } from 'kebab-to-camel'
console.log(kebabToCamel('hello-camel-world'))
// => helloCamelWorldBench
kebab-to-camel performs best among the top downloaded packages in npm and is probably the fastest way to do it if you just want that conversion and not any-to-camel:
API
Table of Contents
kebabToCamel
Converts a string from kebab-case to camelCase.
Parameters
inputstring The string inkebab-caseto be converted
Returns string The string in camelCase
Contribute
All contributions are welcome!
License
MIT © 2021 stagas