camelcase-keys-deep
Version:
Deeply convert the keys of an object to camelCase
36 lines (20 loc) • 552 B
Markdown
# camelcase-keys-deep
> Deeply convert the keys of an object to camelCase
## Install
```
$ npm install --save camelcase-keys-deep
```
## Usage
```js
const camelcaseKeysDeep = require('camelcase-keys-deep');
camelcaseKeysDeep({unicorn_rainbow: {foo_bar: 1}});
//=> {unicornRainbow: {fooBar: 1}}
```
## API
### camelcaseKeysDeep(input)
#### input
Type: `object`
## Related
- [decamelize-keys-deep](https://github.com/rxaviers/decamelize-keys-deep) for the inverse.
## License
MIT © [Rafael Xavier de Souza](https://rafael.xavier.blog.br)