import { propsToFormData } from "https://deno.land/x/live@1.102.0/clients/formdata.ts";
Convert a javascript object to a FormData instance.
Usage:
const formData = propsToFormData({ foo: "bar", baz: [1, 2, 3] });
formData.get("foo"); // "bar"
formData.get("baz.0"); // 1
formData.get("baz.1"); // 2
formData.get("baz.2"); // 3