@avidian/form-data
v1.0.2
Published
FormData with extra powers.
Downloads
3
Readme
@avidian/form-data
FormData with extra powers.
Installation
npm:
npm install @avidian/form-data
yarn:
yarn add @avidian/form-data
Usage
import FormData from '@avidian/form-data';
const object = {
key: 'value',
};
const formData = new FormData(object, ?options, ?prefix);
// or
formData.serialize(object, ?options, ?prefix)
Credits
Parmesh Krishen's object-to-form-data package.