dijkstra-backend-cloudron/node_modules/dasherize/example/dash.js

13 lines
218 B
JavaScript
Raw Normal View History

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