Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement finalized interfaces #3

Open
wyqydsyq opened this issue Jul 19, 2017 · 1 comment
Open

Implement finalized interfaces #3

wyqydsyq opened this issue Jul 19, 2017 · 1 comment

Comments

@wyqydsyq
Copy link

The actual final File API is quite different from the implementation of this library.

Namely, the File() constructor has a different signature:

new File(bits, name[, options])

https://developer.mozilla.org/en-US/docs/Web/API/File/File

I'd like to be able to have a consistent way to describe files across both client and server, so an up-to-date implementation of the File API as described on MDN (and implemented by modern browsers) would be necessary.

I'd be happy to implement this myself if you're open to a PR for it @coolaj86 @natlownes although it seems this repo is now dead, if I don't hear back from a maintainer that this work would be welcome I'll just create my own package from scratch, however I'd prefer to update this one to avoid polluting the NPM registry with similarly named packages having different implementations.

@natlownes
Copy link

@wyqydsyq that seems good to me provided we bump the major version. barring objections from @coolaj86 I'll add you as a contributor. I think I can do that here and on npm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants