mirror of
https://github.com/titanscouting/tra-analysis.git
synced 2024-11-15 07:36:18 +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));
|