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