tra-analysis/website/functions/node_modules/snakeize/example/snakeize.js
2019-01-06 13:14:45 -06:00

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));