You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would really like to use seek-bzip in my web application. I currently use antimatter15's bzip2.js : it works pretty well, but I think seek-bzip might improve the performance of my webapp. Because seek-bzip would allow me to decompress only what's necessary (by passing the expectedSize parameter)
(see kiwix/kiwix-js#4 )
I tried by myself to remove the node.js dependencies but did not manage to do it.
Would there be an easy way to use seek-bzip in a browser instead of a node.js environment?
The text was updated successfully, but these errors were encountered:
I would really like to use seek-bzip in my web application. I currently
use antimatter15's bzip2.js : it works pretty well, but I think seek-bzip
might improve the performance of my webapp. Because seek-bzip would allow
me to decompress only what's necessary (by passing the expectedSize
parameter)
(see kiwix/kiwix-js#4kiwix/kiwix-js#4)
I tried by myself to remove the node.js dependencies but did not manage to
do it.
Would there be an easy way to use seek-bzip in a browser instead of a
node.js environment?
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/2
.
But I did not manage to make it work.
First, I'm currently using requirejs in my application, and I think it might introduce conflicts with the "require" function. In any case, I did not manage to load seek-bzip as a requirejs module
Never mind, I tried to use it directly in a simple HTML page (without any requirejs environment), but did not manage to.
In fact, I don't find the way to access Bunzip class after importing the javascript.
In the examples from http://browserify.org or https://github.com/substack/node-browserify, they execute code directly from inside the node.js modules. What I would need is to access this code from other javascript files, in order to call Bunzip.decode(something)
This is not an issue, but only a wish.
I would really like to use seek-bzip in my web application. I currently use antimatter15's bzip2.js : it works pretty well, but I think seek-bzip might improve the performance of my webapp. Because seek-bzip would allow me to decompress only what's necessary (by passing the expectedSize parameter)
(see kiwix/kiwix-js#4 )
I tried by myself to remove the node.js dependencies but did not manage to do it.
Would there be an easy way to use seek-bzip in a browser instead of a node.js environment?
The text was updated successfully, but these errors were encountered: