-
Notifications
You must be signed in to change notification settings - Fork 20
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
Support modern browser runtime? #11
Comments
@blakegong on one hand I wouldn't want this module to get too complicated, but on the other, having a one stop shop for MD5 check-summing in JavaScript might be really handy. Go for it. |
Thanks for the blessing. Will try my best :) |
Hi Rory, Just a small update here. I didn't find enough time to do it last weekend. But managed to write a prototype using https://www.npmjs.com/package/md5 that works on the browser. Based on that experiment, there are two things that I wanna discuss here.
|
@blakegong I wouldn't worry too much about the increased file size, the |
Agreed. I myself mainly write React everyday so I guess I was underestimating the work required to make this package truly work in browser. Guess we should support at least 3 different types of import?
|
@blakegong yeah sounds good |
Hi Rory and Linus,
Thanks for this great repo!
I am wondering whether you would like to add modern browser support? Maybe utilising
FileReader
API to handlefs
work?It would be great to see that happen. I can contribute with some PR too :)
Best,
Blake
The text was updated successfully, but these errors were encountered: