Submit form data from an object easily
$ npm install --save submitform
const submitform = require('submitform');
const options = {
action: 'http://example.com',
id: 'Example',
method: 'POST'
};
submitform({foo: 'bar'}, options);
Required
Type: object
Data to be sent.
Required
Type: object
Attributes to be set on the form element.
MIT © Andreas Gillström