import { propsToFormData } from "https://dotland.deno.dev/x/live@1.107.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