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