13 lines
214 B
JavaScript
13 lines
214 B
JavaScript
|
'use strict';
|
||
|
|
||
|
var camelize = require('../');
|
||
|
var obj = {
|
||
|
fee_fie_foe: 'fum',
|
||
|
beep_boop: [
|
||
|
{ 'abc.xyz': 'mno' },
|
||
|
{ 'foo-bar': 'baz' }
|
||
|
]
|
||
|
};
|
||
|
var res = camelize(obj);
|
||
|
console.log(JSON.stringify(res, null, 2));
|