Bones/node_modules/popsicle/dist/form.js

13 lines
353 B
JavaScript
Raw Normal View History

2017-05-17 13:45:25 -04:00
var FormData = require('form-data');
function form(obj) {
var form = new FormData();
if (obj) {
Object.keys(obj).forEach(function (name) {
form.append(name, obj[name]);
});
}
return form;
}
Object.defineProperty(exports, "__esModule", { value: true });
exports.default = form;
//# sourceMappingURL=form.js.map