-
Notifications
You must be signed in to change notification settings - Fork 67
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
Can gzip-js be directly used in browser? #15
Comments
@extend1994 have you even read the readme? https://github.com/beatgammit/gzip-js At the buttom in the usage section, you can read how to use it... |
@Ruffio
in <script> blocks. But errors appeared. |
Maybe this library needs browserify first? |
Install browserify (globally if you want the binary): install gzip-js locally: create a file with something simple like gzipjs_node.js: or if you prefer something object like:
run browserify on it and you can use the result in your browser. You can create your own instances with |
Thanks @treii28 ! So looks like we do need browserify! |
@treii28 Thanks a lot! |
Maybe not, and I don't think we should discuss here ... |
Hi!
I saw you described
in Readme.md.
But I can not find a way to use it in browser.
Could you please tell me the way how to use it?
Thank you 😄
For the reference cdnjs/cdnjs#11818
The text was updated successfully, but these errors were encountered: