node-compress icon indicating copy to clipboard operation
node-compress copied to clipboard

A streaming compression for node.js. Abandoned and unsupported as of 2011-05-29.

About

Asynchronous streaming compression module for node.js. Note, that API has changed since forked from original project by waveto. See HISTORY for more details. Currently library supports two compression backends: gzip and bzip2. To install, ensure that you have libz and libbz2 installed.

Build

$ gcc --version gcc (Ubuntu 4.4.3-4ubuntu5) 4.4.3

$ node-waf configure $ node-waf build

Configuration options: --debug Build with debug information. --with-gzip Build with gzip support. Default. --no-gzip Build w/o gzip support. --with-bzip Build with bzip support. --no-bzip Build w/o bzip support. Default.

Build puts the compress-bindings.node binary module in build/default.

Usage examples

See demo/demo.js.