Jimmy Wärting
Jimmy Wärting
> There's no way (that I know of) to convert from Blob to Buffer without FileReader. here is a way: ```js const buffer = await new Response(blob).arrayBuffer().then(ab => Buffer.from(ab)) const...
I don't know if it is faster or slower. Using response means no support for IE, it doesn't have the fetch api. What I like about this is that you...
there is a new reading methods on the horizon coming to your browser soon blob.arrayBuffer() blob.text() blob.stream()
Blob.arraybuffer just got introduced to latest Chrome version v76
es7 + jsdoc and/or d.ts wish to be able to use native import in browser without having to bundle or transpile the scripts. typescript is not javascript and dose not...
if you would like to write cross node/browser maybe you should consider abending streams and use async iterator instead
I wish you would use a async generator instead of importing node streams https://github.com/cross-js/cross-js#dont-create-node-or-web-readable-stream-yourself (or use whatwg stream on nodejs) so it could work grate across Web/Deno/NodeJS
> Async iterator is the main reason I decided to use csv-parse over papaparse even though there is a slight performance penalty. I do it for similar reasons on other...
I would say drop support for commonjs entierly and do a major release (there are other popular modules that have already done so)
> IIUC we can support it without too much effort and I do not see any improvement by dropping it's support. That's true, You will not benefit so much of...