Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hi! I really like UZIP.js, thanks for making it! I used to just drop it in my project and call it a day, but recently I've been really getting into ESM (ES Modules - using
import
andexport
to refer to other scripts). This is not to be confused with CJS, AMD and other import/export solutions which require compilers and bundlers. ESM is a browser standard and can be used from plain JavaScript. I decided to make UZIP.js available as an ESM module so that I and other people can use it this modern way.In this PR I contribute an installation method using my ESM module to the readme. The module is automatically updated daily so it will automatically contain any new changes you make in
UZIP.js
without needing anyone to manually update it. This should save you the influx of issues requesting you update the ESM version like we can see with the NPM version uploaded once by someone else and then not updated anymore.Hope you like this and all the best!