form2obj Convert a form to JSON. <form> <input type="text" name="name" value="jon"></input> </form> var toObject = require('form2obj') var form = document.querySelector('form') var object = toObject(form); // object.name === 'jon'