Skip to content

saver711/object-2-formdata

Repository files navigation

Object 2 formData (OTF)

Given an object, it transforms it to formData ready to be sent to the backend

Install

yarn add @ahmedhassan713/object-2-formdata

OR

npm i @ahmedhassan713/object-2-formdata

Documentation

import { OTF } from "@ahmedhassan713/object-2-formdata"
const obj = {........}

const formData = OTF(obj)

Author

Demo

codesandbox

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published