1.0.2 • Published 9 years ago
form-obj v1.0.2
form-obj
Convert an HTML form's input values into an object.
Install
$ npm install --save form-obj
Usage
var formObj = require('form-obj');
var form = document.querySelector('form');
formObj(form);
/*
{
name: 'foo',
password: '123456'
}
*/
License
MIT © Andreas Gillström