@lavadrop/camel-case
v0.4.0
Published
Converts a string value into camel case.
Downloads
1,965
Maintainers
Readme
@lavadrop/camel-case
Part of a library of zero-dependency npm modules that do just one thing.
- 100% TypeScript support.
- It's not a party without
Lavadrop
!
min + gzip | 224 bytes
Converts a string value into camel case.
Usage
import camelCase from '@lavadrop/camel-case'
camelCase('foo-bar-baz')
// => 'fooBarBaz'
Parameters
| Name | Type | Description |
| :------ | :------- | :--------------------- |
| value
| string
| The string to convert. |
Returns
The camel-cased string.
Return type
string