node-compress
node-compress copied to clipboard
A streaming compression / gzip library for node.js
I've updated the compress.cc code to handle the removal of node_events.h. I'm not 100% sure Iv'e done this correctly, but the test scripts seem to work. FWIW, I found this...
Hello waveto! I am migrationBot, an [open-source](https://github.com/blakmatrix/node-migrator-bot) bot, and I'm here to help you migrate your codebase to node v0.8! Did you know that the "sys" module throws an error...
readme file was not the correct extension
node_events.h is removed since 0.5.x somewhere.
we see a memory leaks in gzip.deflate. Are there any known issues? Also question (why you never delete the temporary buffer allocated at line 154?) 154 char\* buf = new...
../src/zlib.h:90:52: error: ‘class node::Buffer’ has no member named ‘data’ ../src/zlib.h:90:52: error: ‘class node::Buffer’ has no member named ‘length’ /usr/local/include/node/ev/ev.h: At global scope: /usr/local/include/node/ev/ev.h:565:1: warning: ‘ev_tstamp ev_now()’ defined but not used...
The `'binary'` string encoding is now deprecated, a `Buffer` needs to be used instead of a `string`.
When I try to decompress, I get the following error: ``` stream.js:46 dest.on('drain', ondrain); ^ TypeError: Object has no method 'on' at Socket.pipe (stream.js:46:8) at Server. (/home/hynese/backopt/server5.js:36:6) at Server.emit (events.js:64:17)...
Greetings, I have the following code: ``` javascript var compress=require("./node-compress/compress"); var sys=require("sys"); //var posix=require("posix"); // Create gzip stream var gzip=new compress.Gzip; gzip.init(); var data="Hello world!"; sys.puts(data); var data_deflated=gzip.deflate(data,"binary"); sys.puts(data_deflated); var...