@queso/camel-case
v0.2.0
Published
Converts a string value into camel case.
Downloads
27
Maintainers
Readme
@queso/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
Queso
!
min + gzip | 224 bytes
Converts a string value into camel case.
Usage
import camelCase from '@queso/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