{"_id":"form_to_object","_rev":"21-c7f35d231d59a02dc8d6be289b527d2a","name":"form_to_object","dist-tags":{"latest":"3.2.0"},"versions":{"1.0.1":{"name":"form_to_object","version":"1.0.1","keywords":["form","serialize","json","convert","javascript"],"author":{"url":"https://github.com/serbanghita","name":"Serban Ghita"},"_id":"form_to_object@1.0.1","maintainers":[{"name":"serbanghita","email":"serbanghita@gmail.com"}],"homepage":"https://github.com/serbanghita/formToObject","bugs":{"url":"https://github.com/serbanghita/formToObject/issues"},"dist":{"shasum":"e30cb2b107d2900c6a3fdff82e652975659ca3bc","tarball":"https://registry.npmjs.org/form_to_object/-/form_to_object-1.0.1.tgz","integrity":"sha512-2auwupJU089xV26adSehoUnd1RFeLs0ZdbXw2mZ6Ic2uMgQ5mUwO7dL5UKiVo+6FeK/T9Ugin9UTLP8k2e0F8g==","signatures":[{"sig":"MEQCIE6Vi95UzTZrUnqSQoHJoumc4oWDa+7GSuPb12+Ye1iaAiADVqJecrTt6UWm1RL6gSOvU+Q2CS3IXz7AoSAXVBuUdw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"formToObject.js","_from":".","title":"formToObject","scripts":{},"_npmUser":{"name":"serbanghita","email":"serbanghita@gmail.com"},"licenses":[{"url":"https://github.com/serbanghita/formToObject/blob/master/LICENSE.txt","type":"MIT"}],"deprecated":"Moved project name from form_to_object to formtoobject.","repository":{"url":"https://github.com/serbanghita/formToObject.git","type":"git"},"_npmVersion":"1.3.14","description":"Plain JavaScript method to convert a HTML form (fields and values) to JavaScript (multidimensional) object.","directories":{},"dependencies":{},"devDependencies":{}},"1.0.4":{"name":"form_to_object","version":"1.0.4","keywords":["form","serialize","json","convert","javascript"],"author":{"url":"https://github.com/serbanghita","name":"Serban Ghita"},"_id":"form_to_object@1.0.4","maintainers":[{"name":"serbanghita","email":"serbanghita@gmail.com"}],"homepage":"https://github.com/serbanghita/formToObject","bugs":{"url":"https://github.com/serbanghita/formToObject/issues"},"dist":{"shasum":"bd2fd05e5efa99dbbfd766a9128866c1e304bb42","tarball":"https://registry.npmjs.org/form_to_object/-/form_to_object-1.0.4.tgz","integrity":"sha512-joK8bh2Yd59VWO8cLM1d6TYbkR28dI42k4FWQnqKQMN/riyeQka0Ls77O+CiqktdsHX4kAmRmi0yIaqjdjAOKw==","signatures":[{"sig":"MEYCIQDgKi0WBjNaubC/RLqI/ZStvBfL66s8PMCuALWEfwnOFwIhALPzpMLpL9KtbLmFZ35pKdOkhCgRTeXWZc3OxhhsTDmj","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"src/formToObject.js","_from":".","title":"formToObject","_shasum":"bd2fd05e5efa99dbbfd766a9128866c1e304bb42","gitHead":"e09fde8458b89c09b9e3f6d079a15127c98a827f","scripts":{"test":"grunt jasmine"},"_npmUser":{"name":"serbanghita","email":"serbanghita@gmail.com"},"licenses":[{"url":"https://github.com/serbanghita/formToObject/blob/master/LICENSE.txt","type":"MIT"}],"repository":{"url":"https://github.com/serbanghita/formToObject.git","type":"git"},"_npmVersion":"2.7.4","description":"Plain JavaScript method to convert a HTML form (fields and values) to JavaScript (multidimensional) object.","directories":{},"_nodeVersion":"0.12.2","dependencies":{},"devDependencies":{"grunt":"~0.4.5","grunt-usemin":"~2.1.1","grunt-contrib-copy":"~0.5.0","browserstack-runner":"^0.2.0","grunt-contrib-clean":"~0.5.0","grunt-contrib-concat":"~0.4.0","grunt-contrib-jshint":"~0.10.0","grunt-contrib-uglify":"~0.4.0","grunt-contrib-jasmine":"^0.6.4"}},"1.0.5":{"name":"form_to_object","version":"1.0.5","keywords":["form","object","json","serialize"],"author":{"url":"https://github.com/serbanghita","name":"Serban Ghita"},"license":"MIT","_id":"form_to_object@1.0.5","maintainers":[{"name":"serbanghita","email":"serbanghita@gmail.com"}],"homepage":"https://github.com/serbanghita/formToObject","bugs":{"url":"https://github.com/serbanghita/formToObject/issues"},"dist":{"shasum":"fd9bdcf947fd66c5234bfc8d04cc39438c457431","tarball":"https://registry.npmjs.org/form_to_object/-/form_to_object-1.0.5.tgz","integrity":"sha512-oY99wCmw2lp4P49mci8PCHNPZDPfK/doptEfREvMfUcjz0r1ifXocDroyccqHyVmE7TgeNgil364mQCNWWdOug==","signatures":[{"sig":"MEUCIQDs4A6M4FnnEhnwhYmi5W3zIhsK/RuktOsfdzMGiFHoWQIgWsrIGfXaQhHNNnSGhR+EXOrTRrvXQ7MnFBsdw0cTf0o=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"src/formToObject.js","_from":".","title":"formToObject","_shasum":"fd9bdcf947fd66c5234bfc8d04cc39438c457431","gitHead":"987ae0abf122b6531d62a6d5387b2f1506c3d89f","scripts":{"test":"grunt jasmine"},"_npmUser":{"name":"serbanghita","email":"serbanghita@gmail.com"},"licenses":[{"url":"https://github.com/serbanghita/formToObject/blob/master/LICENSE.txt","type":"MIT"}],"repository":{"url":"https://github.com/serbanghita/formToObject.git","type":"git"},"_npmVersion":"1.4.14","description":"Convert a form to an object, includin multi-dimensional name fields.","directories":{},"dependencies":{},"devDependencies":{"grunt":"~0.4.5","grunt-usemin":"~2.1.1","grunt-contrib-copy":"~0.5.0","browserstack-runner":"^0.2.0","grunt-contrib-clean":"~0.5.0","grunt-contrib-concat":"~0.4.0","grunt-contrib-jshint":"~0.10.0","grunt-contrib-uglify":"~0.4.0","grunt-contrib-jasmine":"^0.6.4"}},"1.0.6":{"name":"form_to_object","version":"1.0.6","keywords":["form","object","json","serialize"],"author":{"url":"https://github.com/serbanghita","name":"Serban Ghita"},"license":"MIT","_id":"form_to_object@1.0.6","maintainers":[{"name":"serbanghita","email":"serbanghita@gmail.com"}],"homepage":"https://github.com/serbanghita/formToObject","bugs":{"url":"https://github.com/serbanghita/formToObject/issues"},"dist":{"shasum":"3a452bb55c51f990565be7f20374228a0b8d6a3f","tarball":"https://registry.npmjs.org/form_to_object/-/form_to_object-1.0.6.tgz","integrity":"sha512-zPF6+0E5p8FIuaHEi1A1OGTxCeGj00dNCdLpUY8qr1LuLMqxA48OC6z4R3eIEwMpCd+7rdUeCYRaRjzJS62wUQ==","signatures":[{"sig":"MEYCIQCnWckwVFnQxYUXM93XaDzFwW1u0twIhmv2mK2f+9HyPwIhAIQK3F5NP28FHmq4YFzqBRVgZcu0Y35rKZj156trIRkZ","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"src/formToObject.js","_from":".","title":"formToObject","_shasum":"3a452bb55c51f990565be7f20374228a0b8d6a3f","gitHead":"f7aae59386901d89376709a32de8769a65cb27fb","scripts":{"test":"grunt jasmine"},"_npmUser":{"name":"serbanghita","email":"serbanghita@gmail.com"},"licenses":[{"url":"https://github.com/serbanghita/formToObject/blob/master/LICENSE.txt","type":"MIT"}],"repository":{"url":"https://github.com/serbanghita/formToObject.git","type":"git"},"_npmVersion":"1.4.14","description":"Convert a form to an object, includin multi-dimensional name fields.","directories":{},"dependencies":{},"devDependencies":{"grunt":"~0.4.5","grunt-usemin":"~2.1.1","grunt-contrib-copy":"~0.5.0","browserstack-runner":"^0.2.0","grunt-contrib-clean":"~0.5.0","grunt-contrib-concat":"~0.4.0","grunt-contrib-jshint":"~0.10.0","grunt-contrib-uglify":"~0.4.0","grunt-contrib-jasmine":"^0.6.4"}},"1.0.7":{"name":"form_to_object","version":"1.0.7","keywords":["form","object","json","serialize"],"author":{"name":"Serban Ghita","email":"serbanghita@gmail.com"},"license":"MIT","_id":"form_to_object@1.0.7","maintainers":[{"name":"serbanghita","email":"serbanghita@gmail.com"}],"homepage":"https://github.com/serbanghita/formToObject","bugs":{"url":"https://github.com/serbanghita/formToObject/issues"},"dist":{"shasum":"5cf235a51124890dc5ab9fccbee31d41b32f39d8","tarball":"https://registry.npmjs.org/form_to_object/-/form_to_object-1.0.7.tgz","integrity":"sha512-MegxAn9jBRzczSsbtT7qPMynpIG9LgL/Njc6lq7KuS+s4lD4GEJ96GSlIV60j0wVwPqWGXYEyeQYhLow1AZNNw==","signatures":[{"sig":"MEUCIQCactaexSHyhhQS5zeCkUuIfhM1V4BsYi3hibUYQUIzJQIgCZ4bjb+QRAjkXHlhoYqB1JFYfyZd0mqIU8NnO/E0QGA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"_from":".","title":"formToObject","_shasum":"5cf235a51124890dc5ab9fccbee31d41b32f39d8","gitHead":"a51e241ee30f4f67a8efcd85696e8d825cc3d5e7","scripts":{"test":"grunt jasmine"},"_npmUser":{"name":"serbanghita","email":"serbanghita@gmail.com"},"licenses":[{"url":"https://github.com/serbanghita/formToObject/blob/master/LICENSE.txt","type":"MIT"}],"repository":{"url":"git+https://github.com/serbanghita/formToObject.git","type":"git"},"_npmVersion":"2.14.12","description":"Convert a form to an object, includin multi-dimensional name fields.","directories":{},"_nodeVersion":"4.2.4","dependencies":{},"devDependencies":{"grunt":"~0.4.5","grunt-jscs":"^2.6.0","grunt-usemin":"~2.1.1","grunt-contrib-copy":"~0.5.0","grunt-jsbeautifier":"^0.2.10","browserstack-runner":"^0.2.0","grunt-contrib-clean":"~0.5.0","grunt-contrib-concat":"~0.4.0","grunt-contrib-jshint":"~0.10.0","grunt-contrib-uglify":"~0.4.0","grunt-contrib-jasmine":"^0.6.4"}},"1.0.8":{"name":"form_to_object","version":"1.0.8","keywords":["form","object","json","serialize"],"author":{"name":"Serban Ghita","email":"serbanghita@gmail.com"},"license":"MIT","_id":"form_to_object@1.0.8","maintainers":[{"name":"serbanghita","email":"serbanghita@gmail.com"}],"homepage":"https://github.com/serbanghita/formToObject","bugs":{"url":"https://github.com/serbanghita/formToObject/issues"},"dist":{"shasum":"3e4c406686e37d57c21757cc97f3f8fdc419662f","tarball":"https://registry.npmjs.org/form_to_object/-/form_to_object-1.0.8.tgz","integrity":"sha512-TdVQtQyvErSGKX3TRFWSj9oIercO5BOvox7V17YkPq0u0rAy7+pxAU4yfUGglK9A3LLHI/c+hF0RT6XY++h62Q==","signatures":[{"sig":"MEUCICwR86vTRXYmNCTOB6iT+wlEEXsBHeq8TpMg5gXf5SCzAiEA7bJttLeuZoj87MVeE5s3cVAyEzKQuVL+g+3VZyI7pls=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"dist/formToObject.js","_from":".","title":"formToObject","_shasum":"3e4c406686e37d57c21757cc97f3f8fdc419662f","gitHead":"2f9718f0cbe53263f06bae3fc17e1ee0a5746ee2","scripts":{"test":"grunt jasmine"},"_npmUser":{"name":"serbanghita","email":"serbanghita@gmail.com"},"licenses":[{"url":"https://github.com/serbanghita/formToObject/blob/master/LICENSE.txt","type":"MIT"}],"repository":{"url":"git+https://github.com/serbanghita/formToObject.git","type":"git"},"_npmVersion":"3.8.0","description":"Convert a form to an object, including multi-dimensional name fields.","directories":{},"_nodeVersion":"4.3.1","dependencies":{},"devDependencies":{"grunt":"~0.4.5","grunt-jscs":"^2.6.0","grunt-usemin":"~2.1.1","grunt-contrib-copy":"~0.5.0","grunt-jsbeautifier":"^0.2.10","browserstack-runner":"^0.2.0","grunt-contrib-clean":"~0.5.0","grunt-contrib-concat":"~0.4.0","grunt-contrib-jshint":"~0.10.0","grunt-contrib-uglify":"~0.4.0","grunt-contrib-jasmine":"^0.6.4"},"_npmOperationalInternal":{"tmp":"tmp/form_to_object-1.0.8.tgz_1457606503108_0.42290167789906263","host":"packages-12-west.internal.npmjs.com"}},"1.0.9":{"name":"form_to_object","version":"1.0.9","keywords":["javascript","form","object","json","serialize"],"author":{"name":"Serban Ghita","email":"serbanghita@gmail.com"},"license":"MIT","_id":"form_to_object@1.0.9","maintainers":[{"name":"serbanghita","email":"serbanghita@gmail.com"}],"homepage":"https://github.com/serbanghita/formToObject","bugs":{"url":"https://github.com/serbanghita/formToObject/issues"},"dist":{"shasum":"71d0c596641c8d6d41db11cac6ef5d0e863c844b","tarball":"https://registry.npmjs.org/form_to_object/-/form_to_object-1.0.9.tgz","fileCount":50,"integrity":"sha512-vSephAPVys5fwFpm057MJnayem29ihGpfTk0atHppMr/bbxanaTE1Pmx/8D2Q+JGgg/6szqZyXSSXb3/RL6htQ==","signatures":[{"sig":"MEQCIGzylnnwGUWPFfKHAq6bEEDgDOL3l3LHxgH3+RsWZsAoAiAdVZUiWureKcnjKlaNeDflmzu1dLiayDABpAmhheyktg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":133459},"main":"dist/formToObject.js","title":"formToObject","gitHead":"720f54034959d0d51da788dabdb97bf6755e785b","_npmUser":{"name":"serbanghita","email":"serbanghita@gmail.com"},"repository":{"url":"git+https://github.com/serbanghita/formToObject.git","type":"git"},"_npmVersion":"5.5.1","description":"Convert a HTML form to an a JavaScript plain object (multi-dimensional).","directories":{},"_nodeVersion":"8.9.1","dependencies":{},"_hasShrinkwrap":false,"devDependencies":{"gulp":"^3.9.1","karma":"^2.0.0","tslint":"^5.9.1","jasmine":"^3.1.0","gulp-jscs":"^4.1.0","gulp-util":"^3.0.8","typescript":"^2.8.1","@types/node":"^7.0.57","gulp-concat":"^2.6.1","gulp-rename":"^1.2.2","gulp-uglify":"^3.0.0","run-sequence":"^2.2.1","karma-jasmine":"^1.1.1","jasmine-jquery":"^2.1.1","gulp-typescript":"^4.0.2","karma-spec-reporter":"0.0.32","gulp-jasmine-phantom":"^3.0.0","karma-jasmine-jquery":"^0.1.1","karma-chrome-launcher":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/form_to_object_1.0.9_1523014353677_0.132828584930325","host":"s3://npm-registry-packages"}},"2.0.0":{"name":"form_to_object","version":"2.0.0","keywords":["javascript","form","object","json","serialize"],"author":{"name":"Serban Ghita","email":"serbanghita@gmail.com"},"license":"MIT","_id":"form_to_object@2.0.0","maintainers":[{"name":"serbanghita","email":"serbanghita@gmail.com"}],"homepage":"https://github.com/serbanghita/formToObject","bugs":{"url":"https://github.com/serbanghita/formToObject/issues"},"dist":{"shasum":"e4b92c982b35e497a6ad2770dd63973adbf8c5bf","tarball":"https://registry.npmjs.org/form_to_object/-/form_to_object-2.0.0.tgz","fileCount":50,"integrity":"sha512-nj+bXqeQOZWPhzAgXWPU2Dm2PVuHcpiA8gpHObWWCP+UZuzG1GC3gcQ0MdSXj2brdNdoQILLqtO4Z8CqzD/M+A==","signatures":[{"sig":"MEQCIF9U0n+vL4GAHxnJ7X7V/whu9IvL2lTtbtnbVp4WehHoAiATJ6cfQWQCMvhwmsOmeK4X7/FAQghKBOJ4MJvqKO7+gg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":134565},"main":"dist/formToObject.js","title":"formToObject","gitHead":"623b234c08eb3374899ffd187ddeaabae2ba7494","_npmUser":{"name":"serbanghita","email":"serbanghita@gmail.com"},"repository":{"url":"git+https://github.com/serbanghita/formToObject.git","type":"git"},"_npmVersion":"5.5.1","description":"Convert a HTML form to an a JavaScript plain object (multi-dimensional).","directories":{},"_nodeVersion":"8.9.1","dependencies":{},"_hasShrinkwrap":false,"devDependencies":{"gulp":"^3.9.1","karma":"^2.0.0","tslint":"^5.9.1","jasmine":"^3.1.0","gulp-jscs":"^4.1.0","gulp-util":"^3.0.8","typescript":"^2.8.1","@types/node":"^7.0.57","gulp-concat":"^2.6.1","gulp-rename":"^1.2.2","gulp-uglify":"^3.0.0","run-sequence":"^2.2.1","karma-jasmine":"^1.1.1","jasmine-jquery":"^2.1.1","gulp-typescript":"^4.0.2","karma-spec-reporter":"0.0.32","gulp-jasmine-phantom":"^3.0.0","karma-jasmine-jquery":"^0.1.1","karma-chrome-launcher":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/form_to_object_2.0.0_1523053783180_0.3947937327218556","host":"s3://npm-registry-packages"}},"2.1.0-rc.0":{"name":"form_to_object","version":"2.1.0-rc.0","keywords":["javascript","form","object","json","serialize"],"author":{"name":"Serban Ghita","email":"serbanghita@gmail.com"},"license":"MIT","_id":"form_to_object@2.1.0-rc.0","maintainers":[{"name":"serbanghita","email":"serbanghita@gmail.com"}],"homepage":"https://github.com/serbanghita/formToObject","bugs":{"url":"https://github.com/serbanghita/formToObject/issues"},"dist":{"shasum":"00e814c5dba4a9f2b2e9391ee9a74febdbf9b330","tarball":"https://registry.npmjs.org/form_to_object/-/form_to_object-2.1.0-rc.0.tgz","fileCount":82,"integrity":"sha512-Hxks3z5wZQz+Oz6KuPXmK3jer5yrD2g36ViefyK+w7PxSZ2l6MlaLenioMEViBssr12dGd0BwgBhlxByn9Zyng==","signatures":[{"sig":"MEUCIDnEbgecg0fGbJHfz/0egS5ZnECs+1GUtQflYi5N/ouHAiEA2FkCV4XRWj9G2oNjH4iVHsOvD83yCxUjdEccnGAhImI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":112678},"main":"build/formToObject.js","title":"formToObject","module":"src/index.ts","gitHead":"8267c1fa099a40fe79435ff57e51556d953a9fa4","scripts":{"dev":"webpack --mode development -d inline-source-map --watch","tsc":"tsc","build":"webpack --mode production","test:e2e":"wdio run ./wdio.conf.ts","test:unit-and-acceptance":"jest"},"_npmUser":{"name":"serbanghita","email":"serbanghita@gmail.com"},"repository":{"url":"git+https://github.com/serbanghita/formToObject.git","type":"git"},"_npmVersion":"9.7.1","description":"Convert a HTML form to an a JavaScript plain object (multi-dimensional).","directories":{},"_nodeVersion":"18.18.2","_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","eslint":"^8.52.0","expect":"^29.7.0","ts-jest":"^29.1.1","ts-node":"^10.9.1","webpack":"^5.74.0","@wdio/cli":"^8.21.0","ts-loader":"^9.3.1","typescript":"^5.2.2","@types/jest":"29.5.10","webpack-cli":"^4.10.0","@types/mocha":"^10.0.3","@jest/globals":"29.5.0","wdio-wait-for":"^3.0.7","source-map-loader":"^4.0.0","@wdio/local-runner":"^8.21.0","@wdio/spec-reporter":"^8.21.0","@wdio/mocha-framework":"^8.21.0","terser-webpack-plugin":"^5.3.9","jest-environment-jsdom":"^29.7.0","@testing-library/jest-dom":"^6.1.4","@typescript-eslint/parser":"^6.8.0","@testing-library/user-event":"^14.5.1","@wdio/static-server-service":"^8.21.0","@testing-library/webdriverio":"^3.2.1","@typescript-eslint/eslint-plugin":"^6.8.0"},"_npmOperationalInternal":{"tmp":"tmp/form_to_object_2.1.0-rc.0_1702064226109_0.8824546181699089","host":"s3://npm-registry-packages"}},"2.2.0-rc.0":{"name":"form_to_object","version":"2.2.0-rc.0","keywords":["javascript","form","object","json","serialize"],"author":{"name":"Serban Ghita","email":"serbanghita@gmail.com"},"license":"MIT","_id":"form_to_object@2.2.0-rc.0","maintainers":[{"name":"serbanghita","email":"serbanghita@gmail.com"}],"homepage":"https://github.com/serbanghita/formToObject","bugs":{"url":"https://github.com/serbanghita/formToObject/issues"},"dist":{"shasum":"f8488f90d967c3718953bf37dbbacadb489375c3","tarball":"https://registry.npmjs.org/form_to_object/-/form_to_object-2.2.0-rc.0.tgz","fileCount":104,"integrity":"sha512-StMkdaWzG1mCLvwy4TPovnxjdvRp6RvaUSqzXQoDyBr7qGpc655TgGOt5im3Tq9fq9jRU+ZFYcq20c/e49ny4Q==","signatures":[{"sig":"MEYCIQDuc3qFt70Wkmw+NPWHvvjnVlqDW/bloKxZC485N2CdDgIhAPj0+AQFOsyFZvufLmyELI9qXRQdPYy/HOW8C/mJvMVo","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":117778},"main":"build/bundle/formToObject.min.js","title":"formToObject","types":"build/src/index.d.ts","gitHead":"77a622871a428744a32deca5c17b93b52ac11a94","scripts":{"dev":"webpack --mode development -d inline-source-map --watch","test":"jest","build":"webpack --mode production","test:e2e":"wdio run ./wdio.conf.ts"},"_npmUser":{"name":"serbanghita","email":"serbanghita@gmail.com"},"repository":{"url":"git+https://github.com/serbanghita/formToObject.git","type":"git"},"_npmVersion":"9.7.1","description":"Convert a HTML form to an a JavaScript plain object (multi-dimensional).","directories":{},"sideEffects":false,"_nodeVersion":"18.18.2","_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","eslint":"^8.52.0","expect":"^29.7.0","ts-jest":"^29.1.1","ts-node":"^10.9.1","webpack":"^5.74.0","@wdio/cli":"^8.21.0","ts-loader":"^9.3.1","typescript":"^5.2.2","@types/jest":"29.5.10","webpack-cli":"^4.10.0","@types/mocha":"^10.0.3","@jest/globals":"29.5.0","wdio-wait-for":"^3.0.7","source-map-loader":"^4.0.0","@wdio/local-runner":"^8.21.0","@wdio/spec-reporter":"^8.21.0","@wdio/mocha-framework":"^8.21.0","terser-webpack-plugin":"^5.3.9","jest-environment-jsdom":"^29.7.0","@testing-library/jest-dom":"^6.1.4","@typescript-eslint/parser":"^6.8.0","@testing-library/user-event":"^14.5.1","@wdio/static-server-service":"^8.21.0","@testing-library/webdriverio":"^3.2.1","@typescript-eslint/eslint-plugin":"^6.8.0"},"_npmOperationalInternal":{"tmp":"tmp/form_to_object_2.2.0-rc.0_1702156136919_0.6457397998374581","host":"s3://npm-registry-packages"}},"3.0.0-rc.0":{"name":"form_to_object","version":"3.0.0-rc.0","keywords":["javascript","form","object","json","serialize"],"author":{"name":"Serban Ghita","email":"serbanghita@gmail.com"},"license":"MIT","_id":"form_to_object@3.0.0-rc.0","maintainers":[{"name":"serbanghita","email":"serbanghita@gmail.com"}],"homepage":"https://github.com/serbanghita/formToObject","bugs":{"url":"https://github.com/serbanghita/formToObject/issues"},"dist":{"shasum":"0b4f85b28a5e23ead889601d4e24ee7a472c5f99","tarball":"https://registry.npmjs.org/form_to_object/-/form_to_object-3.0.0-rc.0.tgz","fileCount":117,"integrity":"sha512-6Isql6XZISggL2Arum3JNcSD4KnziOMzyPUVyUxPgR5Lf7hU8wAnyM6D5NVkZiJkOdVhGz0ORkRVU/nDyQ/2xw==","signatures":[{"sig":"MEUCIEkQH370ItKuGy2AE8yxcJs+7Xyc5hTDGh1UuAhC+wa5AiEAx2CaSQTO2+CitmuQfdW7yI6zu0LCQcFX04WrxxIGLNA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":158919},"main":"build/bundle/formToObject.min.js","title":"formToObject","types":"build/src/index.d.ts","gitHead":"eea6a06f76fbd245033ceebfe46a417fce2d3421","scripts":{"dev":"webpack --config webpack.dev.js","test":"jest","build":"webpack --config webpack.prod.js","test:e2e":"wdio run ./wdio.conf.ts"},"_npmUser":{"name":"serbanghita","email":"serbanghita@gmail.com"},"repository":{"url":"git+https://github.com/serbanghita/formToObject.git","type":"git"},"_npmVersion":"9.7.1","description":"Convert a HTML form to an a JavaScript plain object (multi-dimensional).","directories":{},"sideEffects":false,"_nodeVersion":"18.18.2","_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","eslint":"^8.52.0","expect":"^29.7.0","ts-jest":"^29.1.1","ts-node":"^10.9.1","webpack":"^5.74.0","@wdio/cli":"^8.21.0","ts-loader":"^9.3.1","typescript":"^5.2.2","@types/jest":"29.5.10","webpack-cli":"^4.10.0","@types/mocha":"^10.0.3","@jest/globals":"29.5.0","wdio-wait-for":"^3.0.7","webpack-merge":"^5.10.0","source-map-loader":"^4.0.0","@wdio/local-runner":"^8.21.0","@wdio/spec-reporter":"^8.21.0","@wdio/mocha-framework":"^8.21.0","terser-webpack-plugin":"^5.3.9","jest-environment-jsdom":"^29.7.0","@testing-library/jest-dom":"^6.1.4","@typescript-eslint/parser":"^6.8.0","@testing-library/user-event":"^14.5.1","@wdio/static-server-service":"^8.21.0","@testing-library/webdriverio":"^3.2.1","@typescript-eslint/eslint-plugin":"^6.8.0"},"_npmOperationalInternal":{"tmp":"tmp/form_to_object_3.0.0-rc.0_1703019841287_0.7924390829986301","host":"s3://npm-registry-packages"}},"3.0.0":{"name":"form_to_object","version":"3.0.0","keywords":["javascript","form","object","json","serialize"],"author":{"name":"Serban Ghita","email":"serbanghita@gmail.com"},"license":"MIT","_id":"form_to_object@3.0.0","maintainers":[{"name":"serbanghita","email":"serbanghita@gmail.com"}],"homepage":"https://github.com/serbanghita/formToObject","bugs":{"url":"https://github.com/serbanghita/formToObject/issues"},"dist":{"shasum":"c59034fb0dde35cea944eb15f429890f96ba8f82","tarball":"https://registry.npmjs.org/form_to_object/-/form_to_object-3.0.0.tgz","fileCount":86,"integrity":"sha512-LMOx0ur9NZI+nrcxVdCo+SYUEpPLp5CXkc9e8wnvzwb6rtgQrq2peZDgvNqlgSGoPkk/htwFOS0UzexO86C/HA==","signatures":[{"sig":"MEQCIGzpeu87+lD9472jYwcHZifn53D8ns1T8nyMFlzXep8wAiAWVWZ7z14UQKIkKSJT24rGiiw4mnGwr1VgsLIi+U/9pA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":245487},"main":"build/bundle/formToObject.min.js","title":"formToObject","types":"build/src/index.d.ts","gitHead":"6029c6706a997fd06a78dc04f79a4be77a5ded28","scripts":{"dev":"webpack --config webpack.dev.js","test":"jest","build":"webpack --config webpack.prod.js","test:e2e":"wdio run ./wdio.conf.ts"},"_npmUser":{"name":"serbanghita","email":"serbanghita@gmail.com"},"repository":{"url":"git+https://github.com/serbanghita/formToObject.git","type":"git"},"_npmVersion":"9.7.1","description":"Convert a HTML form to an a JavaScript plain object (multi-dimensional).","directories":{},"sideEffects":false,"_nodeVersion":"18.18.2","_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","eslint":"^8.52.0","expect":"^29.7.0","ts-jest":"^29.1.1","ts-node":"^10.9.1","webpack":"^5.74.0","@wdio/cli":"^8.21.0","ts-loader":"^9.3.1","typescript":"^5.2.2","@types/jest":"29.5.10","webpack-cli":"^4.10.0","@types/mocha":"^10.0.3","@jest/globals":"29.5.0","wdio-wait-for":"^3.0.7","webpack-merge":"^5.10.0","source-map-loader":"^4.0.0","@wdio/local-runner":"^8.21.0","@wdio/spec-reporter":"^8.21.0","@wdio/mocha-framework":"^8.21.0","terser-webpack-plugin":"^5.3.9","jest-environment-jsdom":"^29.7.0","@testing-library/jest-dom":"^6.1.4","@typescript-eslint/parser":"^6.8.0","@testing-library/user-event":"^14.5.1","@wdio/static-server-service":"^8.21.0","@testing-library/webdriverio":"^3.2.1","@typescript-eslint/eslint-plugin":"^6.8.0"},"_npmOperationalInternal":{"tmp":"tmp/form_to_object_3.0.0_1704370041142_0.24900056032117468","host":"s3://npm-registry-packages"}},"3.1.0":{"name":"form_to_object","version":"3.1.0","keywords":["javascript","form","object","json","serialize"],"author":{"name":"Serban Ghita","email":"serbanghita@gmail.com"},"license":"MIT","_id":"form_to_object@3.1.0","maintainers":[{"name":"serbanghita","email":"serbanghita@gmail.com"}],"homepage":"https://github.com/serbanghita/formToObject","bugs":{"url":"https://github.com/serbanghita/formToObject/issues"},"dist":{"shasum":"6228edae071ae3e7ae5e32dac38d79d5c61c14f1","tarball":"https://registry.npmjs.org/form_to_object/-/form_to_object-3.1.0.tgz","fileCount":87,"integrity":"sha512-+8Dok10UifCwyPUwAoMOveBolfK13Li05F/pwwvSncgBEK1WABcosq61DVT0hwPXXpEtfYhLssN4w0FrSYIj3A==","signatures":[{"sig":"MEUCIQC+jOBcH8I77SUSiY54yIIzZab/abpoTEh2swHeHkkdyQIgPCInalxzd5pAP+Jy5nrPc8lrEIybU2QVcH8yaBe1/MY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":250412},"main":"build/bundle/formToObject.min.js","title":"formToObject","types":"build/src/index.d.ts","gitHead":"5c37dd2cf0762b4dac3053c441e541e7e387fe59","scripts":{"dev":"webpack --config webpack.dev.js","test":"jest","build":"webpack --config webpack.prod.js","test:e2e":"wdio run ./wdio.conf.ts"},"_npmUser":{"name":"serbanghita","email":"serbanghita@gmail.com"},"repository":{"url":"git+https://github.com/serbanghita/formToObject.git","type":"git"},"_npmVersion":"9.7.1","description":"Convert a HTML form to an a JavaScript plain object (multi-dimensional).","directories":{},"sideEffects":false,"_nodeVersion":"18.18.2","_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","eslint":"^8.52.0","expect":"^29.7.0","ts-jest":"^29.1.1","ts-node":"^10.9.1","webpack":"^5.74.0","@wdio/cli":"^8.21.0","ts-loader":"^9.3.1","typescript":"^5.2.2","@types/jest":"29.5.10","webpack-cli":"^4.10.0","@types/mocha":"^10.0.3","@jest/globals":"29.5.0","wdio-wait-for":"^3.0.7","webpack-merge":"^5.10.0","source-map-loader":"^4.0.0","@wdio/local-runner":"^8.21.0","@wdio/spec-reporter":"^8.21.0","@wdio/mocha-framework":"^8.21.0","terser-webpack-plugin":"^5.3.9","jest-environment-jsdom":"^29.7.0","@testing-library/jest-dom":"^6.1.4","@typescript-eslint/parser":"^6.8.0","@testing-library/user-event":"^14.5.1","@wdio/static-server-service":"^8.21.0","@testing-library/webdriverio":"^3.2.1","@typescript-eslint/eslint-plugin":"^6.8.0"},"_npmOperationalInternal":{"tmp":"tmp/form_to_object_3.1.0_1704826367841_0.5884730078392442","host":"s3://npm-registry-packages"}},"3.2.0":{"name":"form_to_object","title":"formToObject","description":"Convert a HTML form to an a JavaScript plain object (multi-dimensional).","version":"3.2.0","homepage":"https://github.com/serbanghita/formToObject","author":{"name":"Serban Ghita","email":"serbanghita@gmail.com"},"main":"build/bundle/formToObject.min.js","types":"build/src/index.d.ts","sideEffects":false,"repository":{"type":"git","url":"git+https://github.com/serbanghita/formToObject.git"},"keywords":["javascript","form","object","json","serialize"],"bugs":{"url":"https://github.com/serbanghita/formToObject/issues"},"license":"MIT","engines":{"node":">=24.11.0"},"scripts":{"build":"node esbuild.config.js && tsc --emitDeclarationOnly -p tsconfig.build.json","dev":"node esbuild.config.js --dev --watch","lint":"eslint .","test":"vitest run","test:unit":"vitest run test/unit","test:integration":"vitest run test/integration","test:watch":"vitest","test:coverage":"vitest run --coverage","test:e2e":"wdio run ./wdio.conf.ts","prerelease":"npm ci && npm run build && npm run lint && npm run test:unit && npm run test:integration && npm run test:e2e","release:patch":"npm run prerelease && npm version patch && npm publish","release:minor":"npm run prerelease && npm version minor && npm publish","release:major":"npm run prerelease && npm version major && npm publish"},"devDependencies":{"@eslint/js":"^9.39.2","@testing-library/jest-dom":"^6.6.3","@testing-library/user-event":"^14.6.1","@types/mocha":"^10.0.10","@vitest/coverage-v8":"^4.0.16","@wdio/cli":"^9.14.0","@wdio/local-runner":"^9.14.0","@wdio/mocha-framework":"^9.14.0","@wdio/spec-reporter":"^9.14.0","@wdio/static-server-service":"^9.14.0","@wdio/types":"^9.20.0","esbuild":"^0.25.0","eslint":"^9.18.0","globals":"^17.0.0","jsdom":"^27.4.0","ts-node":"^10.9.2","typescript":"^5.8.0","typescript-eslint":"^8.52.0","vitest":"^4.0.16"},"gitHead":"15a5915dd0f66c1708de08daec8b284faffeafa0","_id":"form_to_object@3.2.0","_nodeVersion":"24.11.1","_npmVersion":"11.6.2","dist":{"integrity":"sha512-oipC5ues/l7SvYgs2v6RPGyi3oaYSlBQE4F6766gg4VyjrudVWlqwDwjlWQDZjCq6pLYVIobbFMzLKsiriuQww==","shasum":"84f39184f298d6fcaeb361b2edd45163d11ceefa","tarball":"https://registry.npmjs.org/form_to_object/-/form_to_object-3.2.0.tgz","fileCount":11,"unpackedSize":24533,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDnmwfTFt1xN3ZPQ1QWjfF4jzm++w1AEWZEw81NwYshdQIhAOanhNxs0o6b9nETLc89Y6EZH77RNgbbwM9B1sw6kbJZ"}]},"_npmUser":{"name":"serbanghita","email":"serbanghita@gmail.com"},"directories":{},"maintainers":[{"name":"serbanghita","email":"serbanghita@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/form_to_object_3.2.0_1767975371131_0.1167634513515663"},"_hasShrinkwrap":false}},"time":{"created":"2013-12-03T11:56:07.656Z","modified":"2026-01-09T16:16:11.498Z","1.0.1":"2013-12-03T11:56:11.681Z","1.0.4":"2015-06-23T18:42:15.812Z","1.0.5":"2016-01-07T10:12:14.269Z","1.0.6":"2016-01-07T10:19:49.129Z","1.0.7":"2016-01-09T15:09:15.549Z","1.0.8":"2016-03-10T10:41:45.562Z","1.0.9":"2018-04-06T11:32:33.764Z","2.0.0":"2018-04-06T22:29:43.254Z","2.1.0-rc.0":"2023-12-08T19:37:06.275Z","2.2.0-rc.0":"2023-12-09T21:08:57.192Z","3.0.0-rc.0":"2023-12-19T21:04:01.484Z","3.0.0":"2024-01-04T12:07:21.343Z","3.1.0":"2024-01-09T18:52:48.009Z","3.2.0":"2026-01-09T16:16:11.307Z"},"bugs":{"url":"https://github.com/serbanghita/formToObject/issues"},"author":{"name":"Serban Ghita","email":"serbanghita@gmail.com"},"license":"MIT","homepage":"https://github.com/serbanghita/formToObject","keywords":["javascript","form","object","json","serialize"],"repository":{"type":"git","url":"git+https://github.com/serbanghita/formToObject.git"},"description":"Convert a HTML form to an a JavaScript plain object (multi-dimensional).","maintainers":[{"name":"serbanghita","email":"serbanghita@gmail.com"}],"readme":"# form-to-object (formToObject.js)\n> Convert **HTML forms** with all their **fields** and **values** to **multidimensional JavaScript** objects\n\n![Workflow status](https://img.shields.io/github/actions/workflow/status/serbanghita/formToObject/test.yml?style=flat-square)\n![Codecov branch](https://img.shields.io/codecov/c/gh/serbanghita/formToObject.js/v.2.1.0?token=BZRS4v9AWy&style=flat-square)\n![npm version](https://img.shields.io/npm/v/form_to_object?style=flat-square)\n![npm downloads](https://img.shields.io/npm/dm/form_to_object?style=flat-square)\n[![](https://data.jsdelivr.com/v1/package/npm/form_to_object/badge)](https://www.jsdelivr.com/package/npm/form_to_object)\n\n## Install\n\nAs a [npm package](https://www.npmjs.com/package/form_to_object):\n\n```shell\nnpm install form_to_object\n```\n\n```js\nimport formToObject from 'form_to_object';\n// or\nconst formToObject = require('form_to_object');\n```\n\nAs a JS script:\n\n```html\n<!-- Include minified script (~6kb) -->\n<script src=\"build/formToObject.js\"></script>\n\n<!-- jsdelivr (CDN) -->\n<script src=\"\nhttps://cdn.jsdelivr.net/npm/form_to_object@3.1.0/build/bundle/formToObject.min.js\n\"></script>\n```\n\n## Example\n\n* Using the DOM node id: `formToObject('myFormId');`\n* Using the actual DOM Node reference: `formToObject(document.getElementById('myFormId'));`\n\nResulted value:\n\n```json\n{\n  \"saveSettings\": \"Save\",\n  \"name\": \"Serban\",\n  \"race\": \"orc\",\n  \"settings\": {\n     \"input\": \"keyboard\",\n     \"video\": {\n        \"resolution\": \"1024x768\",\n        \"vsync\": \"on\"\n     }\n  }\n}\n```\n\nGood to know:\n\n1. If `<form>` fields are found, but they lack of `name` attribute property, the result will be `{}` (empty object).\n2. If `<form>` contains only `disabled` fields, the result will be `{}` (empty object). If you force `includeDisabledFields` then key:value pairs will be returned.\n3. An empty `<form>` will throw an Error.\n4. In case of an error like non-existing form or invalid selector, an Error will be thrown.\n\n## TypeScript\n\nThe library includes TypeScript definitions. Use generics to get typed results:\n\n```typescript\nimport formToObject from 'form_to_object';\n\n// Define your form data interface\ninterface UserSettingsForm {\n  name: string;\n  email: string;\n  settings: {\n    theme: 'light' | 'dark';\n    notifications: boolean;\n  };\n}\n\n// Pass the interface as a generic type parameter\nconst data = formToObject<UserSettingsForm>('settingsForm');\n\nif (data) {\n  console.log(data.name);           // string\n  console.log(data.settings.theme); // 'light' | 'dark'\n}\n```\n\nYou can also use CSS selectors (class, attribute, etc.):\n\n```typescript\n// By ID (with or without #)\nformToObject('#myForm');\nformToObject('myForm');\n\n// By class\nformToObject('.registration-form');\n\n// By attribute\nformToObject('form[data-type=\"checkout\"]');\n\n// By DOM reference\nconst form = document.querySelector('form') as HTMLFormElement;\nformToObject<MyFormData>(form);\n```\n\n## Options\n\n| Option name                                 | Default                     | Description                                                                                                                          |\n|---------------------------------------------|-----------------------------|--------------------------------------------------------------------------------------------------------------------------------------|\n| `includeEmptyValuedElements`                | `boolean` (default `false`) | Return field names as keys with empty value `\"\"` instead of just ignoring them.                                                      | \n| `w3cSuccessfulControlsOnly`                 | `boolean` (default `false`) | TBA, WIP                                                                                                                             |\n| `selectNameWithEmptyBracketsReturnsArray`   | `boolean` (default `true`)  | `<select>` field names like `name=\"select[]\"` always return an array `[a,b]` instead or array of arrays `[0: [a,b]]`.                |\n| `checkBoxNameWithEmptyBracketsReturnsArray` | `boolean` (default `true`)  | `<input>` checkboxes with field names like `name=checkbox[]` always return an array `[a,b]` instead or array of arrays `[0: [a,b]]`. |\n\n\n## Browser support\n\nIE 8, Firefox 3.5, Chrome, Safari, Opera 10, every mobile browser.\n\n## Example\n\n![](demo.png)","readmeFilename":"README.md"}