isomorphic-form-data
isomorphic-form-data copied to clipboard
A module to create readable `"multipart/form-data"` isomorphically in node and the browser.
Newest version of node-fetch (v3.x) no longer support form-data as it have been none-spec compliant. and instead recommends ppl to just use a more spec compliant version. see https://github.com/form-data/form-data/issues/537 Right...
BREAKING CHANGE: globalThis is a new standardized way how to access global object. This commit is a breaking change for older node.js and browser versions not supporting this standard. It...
Could be possible to use self instead of window? ``` module.exports = self.FormData ``` I'm trying to instantiate Swagger in a webworker, and it is complaining because window doesn't exist.
This is to address an issue when using `twilio-chat` Electron. `twilio-chat` depends on `isomorphic-form-data`, which updates global (aka window) in Electron.