Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@tim-lai/isomorphic-form-data

tim-lai1.5kMIT1.0.0

A module to create readable "multipart/form-data" isomorphically in node and the browser.

formdata, formdata-node, form-data

readme

isomorphic-form-data

A module to create readable "multipart/form-data" isomorphically in node and the browser.

For node, use a single dependency, formdata-node
For browser, use the browser's window.FormData method

Install

npm i @tim-lai/isomorphic-form-data

Usage

const FormData = require('@tim-lai/isomorphic-form-data)

License

View the LICENSE file (MIT)