import { formDataToProps } from "https://deno.land/x/blocks@1.102.1/clients/formdata.ts";
Convert a FormData instance to a javascript object.
Usage:
const formData = new FormData();
formData.append("foo", "bar");
const props = formDataToProps(formData);
console.log(props); // { foo: "bar" }
Parameters
formData: FormData
FormData instance to convert.