Nick K.

Results 23 comments of Nick K.

I'd rather recommend to use [`form-data-encoder`](https://github.com/octet-stream/form-data-encoder) package to do so. That way Axios will have support for `multipart/form-data` encoding in general, regardless of what package you choose - either formdata-node,...

> Most likely in the near future we should replace the default form-data module with formdata-node, or create our own simple stream encoder, but writing it in ES5 is painful....

This can be solved with [`formdata-node`](https://www.npmjs.com/package/formdata-node): ```js import {FormData} from "formdata-node" const form = new FormData() form.set("first", "first value") form.set("second", "second value") form.set("third", "third value") [...form] // -> [["first", "first...

Sorry I've never answered. I'm closing this, because I don't use this library anymore, so issue is not relatable for me as well.

@octoberspice @Nivg This issue seem to be related to [another package](https://github.com/octet-stream/form-data), and not to this one. Please refer to the [documentation](https://github.com/octet-stream/form-data#usage) of that package instead. Try latest version of got...

On their website they mention [`qwikest/icons`](https://qwik.builder.io/docs/integrations/icons/#qwikesticons) which has lucide icons. Also, Qwik [can render React components](https://qwik.builder.io/docs/integrations/react/), but I haven't tried this approach. Looking forward for official support for Qwik 👍

> I don't think Node.js supports getBuffer(). I.e. there's no way to actually serialize the data (unless you make a fetch request) @pauldraper You can, with [form-data-encoder](https://www.npmjs.com/package/form-data-encoder). It supports Node.js'...

While working on v6 I found out that types for global ReadableStream have no `Symbol.asyncIterable` which makes it incompatible with undici `BodyInit`, because it relies on Node.js' types for Blob,...

v6 is available now, check out release notes for more information: https://github.com/octet-stream/form-data/releases/tag/v6.0.0

Great, I just found out that on the type-level my Blob implementation is not compatible to either Node.js' one, to node-fetch, and undici. And that's just because I have `Symbol.toStringTag`...