![]() This package is targeting ESM and CJS for backwards compatibility reasons and smoothen transition period while you convert your projects to ESM only. Or pnpm pnpm add formdata-node ESM/CJS support You can install this package with npm: npm install formdata-node ![]() It's a ponyfill! Which means, no effect has been caused on globalThis or native FormData implementation.If you need a polyfill for browsers, use formdata-polyfill Isomorphic, but only re-exports native FormData object for browsers.Written on TypeScript and ships with TS typings.Supports Blobs and Files sourced from anywhere: you can use builtin fileFromPath and fileFromPathSync helpers to create a File from FS, or you can implement your BlobDataItem object to use a different source of data.Spec-compliant: implements every method of the FormData interface. ![]() Spec-compliant FormData implementation for Node.js ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
December 2022
Categories |