Skip to content

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

2 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages