13 lines
218 B
JavaScript
13 lines
218 B
JavaScript
|
'use strict';
|
||
|
|
||
|
var dasherize = require('../');
|
||
|
var obj = {
|
||
|
feeFieFoe: 'fum',
|
||
|
beepBoop: [
|
||
|
{ 'abcXyz': 'mno' },
|
||
|
{ 'fooBar': 'baz' }
|
||
|
]
|
||
|
};
|
||
|
var res = dasherize(obj);
|
||
|
console.log(JSON.stringify(res, null, 2));
|