mirror of
https://github.com/musix-org/musix-oss
synced 2024-12-23 22:33:17 +00:00
11 lines
216 B
JavaScript
11 lines
216 B
JavaScript
|
var snakeize = require('../');
|
||
|
var obj = {
|
||
|
feeFieFoe: 'fum',
|
||
|
beepBoop: [
|
||
|
{ 'abc_xyz': 'mno' },
|
||
|
{ 'fooBar': 'baz' }
|
||
|
]
|
||
|
};
|
||
|
var res = snakeize(obj);
|
||
|
console.log(JSON.stringify(res, null, 2));
|