cscott / compressjs

Pure JavaScript de/compression (bzip2, etc) for node.js, volo, and the browser.
GNU General Public License v2.0
352 stars 41 forks source link

Use compressjs in a browser #3

Open jochenonline opened 11 years ago

jochenonline commented 11 years ago

Hi,

I want to use your module in a browser, but I could not find any example how to do this. Is there one?

Best, Jochen

cscott commented 11 years ago

It should be as simple as 'volo add cscott/compressjs' (see https://github.com/volojs/volo ), but I have not had time recently to hack on the browser-based project for which I wrote compressjs (that would be https://github.com/cscott/nell-wikipedia ) so I can't guarantee that will work perfectly yet. Patches welcome, though, and if you're able to wait I expect to do some nell-wikipedia hacking in the next two weeks, so any bugs in browser integration ought to be squashed then.

jochenonline commented 11 years ago

I can wait. I the meantime I use LZW.

2013/5/6 C. Scott Ananian notifications@github.com

It should be as simple as 'volo add cscott/compressjs' (see https://github.com/volojs/volo ), but I have not had time recently to hack on the browser-based project for which I wrote compressjs (that would be https://github.com/cscott/nell-wikipedia ) so I can't guarantee that will work perfectly yet. Patches welcome, though, and if you're able to wait I expect to do some nell-wikipedia hacking in the next two weeks, so any bugs in browser integration ought to be squashed then.

— Reply to this email directly or view it on GitHubhttps://github.com/cscott/compressjs/issues/3#issuecomment-17482175 .

seth4618 commented 10 years ago

I wonder if browser integration has gotten any attention in the last nine months?

cscott commented 10 years ago

Patches welcome!

jammerxd commented 1 year ago

I too would like to see this be browserified!

cscott commented 1 year ago

It's been nine years now (!). I've been working server side for the past decade or so. Patches eagerly welcome, as I'm not realistically going to get around to this myself.

jammerxd commented 1 year ago

Sadly I don't have the technical skills needed for this

M-Gonzalo commented 1 year ago

Hi! Beautiful this project! Quick question: what is the use case if it can't be used in a browser? For example, can I try and encode an Expressjs response with this? Will I be able to decode from, say, a React frontend?

Thanks in advance for your reply!