Deno: FileReader API missing

Created on 12 May 2020  路  12Comments  路  Source: denoland/deno

The browser global FileReader is missing which is in use by many popular modules such as the aws-sdk by AWS.

feat web

Most helpful comment

Hey Brian :)

I definitely want to get aws-sdk ported - that would be awesome.

All 12 comments

Hey Brian :)

I definitely want to get aws-sdk ported - that would be awesome.

Meeee too. I think we will have an S3 client shortly here anyhow. The community DynamoDB client is excellent starting point. And once we have SNS and SQS鈥 won't have a use case for Node anymore.

Thinking we don't need another way of reading files when .text(), .arrayBuffer() & .stream() already exist

Kinda the new way of reading blob's in browser now days

https://github.com/denoland/deno/pull/4581

well aws-sdk and others use FileReader

feels like the FileReader will become more obsolete when ppl switch to the new methods

But it'll take time for them to become obsolete.

We have always supported standard browser APIs based on a compelling feature request and complexity of implementing, versus whether there are better ways to do it. Supporting aws-sdk is a very compelling use case.

I had an attempt at the aws-sdk
https://github.com/aws/aws-sdk-js-v3/issues/1289

Done in https://github.com/denoland/deno/pull/6673, will be released in v1.3.0 on Thursday.

CC @brianleroux

Meeee too. I think we will have an S3 client shortly here anyhow. The community DynamoDB client is excellent starting point. And once we have SNS and SQS鈥 won't have a use case for Node anymore.

@brianleroux FYI I started work on a S3 and SQS client a while ago. Not fully featured yet, but it is a start.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

doutchnugget picture doutchnugget  路  3Comments

sh7dm picture sh7dm  路  3Comments

watilde picture watilde  路  3Comments

xueqingxiao picture xueqingxiao  路  3Comments

ry picture ry  路  3Comments