{"id":15068383,"url":"https://github.com/afeiship/next-form2data","last_synced_at":"2026-02-07T05:30:49.714Z","repository":{"id":57112657,"uuid":"195814832","full_name":"afeiship/next-form2data","owner":"afeiship","description":"FormData to js data.","archived":false,"fork":false,"pushed_at":"2021-01-09T08:57:58.000Z","size":20,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-23T16:19:12.059Z","etag":null,"topics":["form-data","next"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/afeiship.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-07-08T13:12:54.000Z","updated_at":"2021-01-09T08:58:01.000Z","dependencies_parsed_at":"2022-08-21T12:00:35.127Z","dependency_job_id":null,"html_url":"https://github.com/afeiship/next-form2data","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/afeiship%2Fnext-form2data","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/afeiship%2Fnext-form2data/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/afeiship%2Fnext-form2data/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/afeiship%2Fnext-form2data/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/afeiship","download_url":"https://codeload.github.com/afeiship/next-form2data/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243833663,"owners_count":20355310,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["form-data","next"],"created_at":"2024-09-25T01:34:40.197Z","updated_at":"2026-02-07T05:30:49.705Z","avatar_url":"https://github.com/afeiship.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# next-form2data\n\u003e FormData to js data.\n\n[![version][version-image]][version-url]\n[![license][license-image]][license-url]\n[![size][size-image]][size-url]\n[![download][download-image]][download-url]\n\n## installation\n```bash\nnpm install -S @jswork/next-form2data\n```\n\n## usage\n```js\n// DO NOT USE in NODE ENV (because: form-data package has bug.)\nimport nxForm2Data from '@jswork/next-form2data';\n\nconst formData = new FormData();\nformData.append('u', 'username');\nformData.append('p', 'pass1');\nnx.form2data(formData);\n\n// { u: 'username', p: 'pass1' }\n```\n\n## resources\n- https://stackoverflow.com/questions/41431322/how-to-convert-formdatahtml5-object-to-json\n\n## license\nCode released under [the MIT license](https://github.com/afeiship/next-form2data/blob/master/LICENSE.txt).\n\n[version-image]: https://img.shields.io/npm/v/@jswork/next-form2data\n[version-url]: https://npmjs.org/package/@jswork/next-form2data\n\n[license-image]: https://img.shields.io/npm/l/@jswork/next-form2data\n[license-url]: https://github.com/afeiship/next-form2data/blob/master/LICENSE.txt\n\n[size-image]: https://img.shields.io/bundlephobia/minzip/@jswork/next-form2data\n[size-url]: https://github.com/afeiship/next-form2data/blob/master/dist/next-form2data.min.js\n\n[download-image]: https://img.shields.io/npm/dm/@jswork/next-form2data\n[download-url]: https://www.npmjs.com/package/@jswork/next-form2data\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fafeiship%2Fnext-form2data","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fafeiship%2Fnext-form2data","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fafeiship%2Fnext-form2data/lists"}