camelcase-keys-deep
v0.1.0
Published
Deeply convert the keys of an object to camelCase
Downloads
41,154
Maintainers
Readme
camelcase-keys-deep
Deeply convert the keys of an object to camelCase
Install
$ npm install --save camelcase-keys-deep
Usage
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 for the inverse.
License
MIT © Rafael Xavier de Souza