{"id":19597890,"url":"https://github.com/lennartkloock/json-html-forms","last_synced_at":"2026-05-12T13:35:34.717Z","repository":{"id":94546750,"uuid":"330739427","full_name":"lennartkloock/json-html-forms","owner":"lennartkloock","description":"Small script to transmit HTML forms as json","archived":false,"fork":false,"pushed_at":"2021-06-02T17:46:34.000Z","size":24,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-04-27T16:38:33.351Z","etag":null,"topics":["html-form","json","transmit-html-forms"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lennartkloock.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2021-01-18T17:28:37.000Z","updated_at":"2024-12-08T05:02:30.000Z","dependencies_parsed_at":"2023-04-24T17:30:40.905Z","dependency_job_id":null,"html_url":"https://github.com/lennartkloock/json-html-forms","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/lennartkloock/json-html-forms","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lennartkloock%2Fjson-html-forms","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lennartkloock%2Fjson-html-forms/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lennartkloock%2Fjson-html-forms/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lennartkloock%2Fjson-html-forms/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lennartkloock","download_url":"https://codeload.github.com/lennartkloock/json-html-forms/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lennartkloock%2Fjson-html-forms/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32941917,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-12T09:19:52.626Z","status":"ssl_error","status_checked_at":"2026-05-12T09:17:33.438Z","response_time":102,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["html-form","json","transmit-html-forms"],"created_at":"2024-11-11T09:03:19.834Z","updated_at":"2026-05-12T13:35:34.712Z","avatar_url":"https://github.com/lennartkloock.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# json-html-forms\nThis is a small js script to transmit HTML forms as json. It prevents the HTML form to be send and instead sends it as a json object.  \nIt needs to be added at **the end of the DOM** to detect all forms.\n\n## Example\n```html\n\u003c!DOCTYPE html\u003e\n\u003chtml lang=\"en\"\u003e\n\u003chead\u003e\n    \u003cmeta charset=\"UTF-8\"\u003e\n    \u003ctitle\u003eJson HTML Forms – Example\u003c/title\u003e\n\u003c/head\u003e\n\u003cbody\u003e\n\u003cform action=\"/submit\" method=\"post\"\u003e\n    \u003cp\u003eThis form will be submitted to \u003ccode\u003e/submit\u003c/code\u003e\u003c/p\u003e\n    \u003clabel\u003e\n        Name:\n        \u003cinput type=\"text\" name=\"name\"\u003e\n    \u003c/label\u003e\n    \u003cbr\u003e\n    \u003clabel\u003e\n        How old are you?\n        \u003cinput type=\"number\" name=\"age\" min=\"0\"\u003e\n    \u003c/label\u003e\n    \u003cbr\u003e\n    \u003clabel\u003e\n        Telephone Number:\n        \u003cinput type=\"tel\" name=\"tel-number\"\u003e\n    \u003c/label\u003e\n    \u003cbr\u003e\n    \u003clabel\u003e\n        Do you like Pizza?\n        \u003cinput id=\"check\" type=\"checkbox\" name=\"pizza\"\u003e\n    \u003c/label\u003e\n    \u003cbr\u003e\n    \u003cinput type=\"submit\" value=\"Submit\"\u003e\n\u003c/form\u003e\n\u003cscript src=\"https://raw.githubusercontent.com/lennartkloock/json-html-forms/master/json-forms.js\"\u003e\u003c/script\u003e\n\u003c/body\u003e\n\u003c/html\u003e\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flennartkloock%2Fjson-html-forms","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flennartkloock%2Fjson-html-forms","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flennartkloock%2Fjson-html-forms/lists"}