Given an object, it transforms it to formData ready to be sent to the backend
yarn add @ahmedhassan713/object-2-formdata
OR
npm i @ahmedhassan713/object-2-formdata
import { OTF } from "@ahmedhassan713/object-2-formdata"
const obj = {........}
const formData = OTF(obj)