1.0.10 • Published 2 years ago

zlib-node v1.0.10

Weekly downloads
-
License
-
Repository
github
Last release
2 years ago

Simple, synchronous deflate for node.js buffers.

USAGE

Install with npm install zlib-node.

var Buffer = require('buffer').Buffer;
var zlib = require('zlib-node');

var input = new Buffer('lorem ipsum dolor sit amet');
var output = zlib.deflate(input);

Note that zlib-node is only intended for small (< 128 KB) data that you already have buffered. It is not meant for input/output streams.

BUILDING

Make sure you have zlib installed. Mac OS X ships with it by default.

To obtain and build the bindings:

git clone git://github.com/kkaeffer/zlib-node.git
cd zlib-node
./configure
make

You can also use npm to download and install them:

npm install zlib-node

TESTS

expresso is required to run unit tests.

npm install expresso
make test

CONTRIBUTORS

LICENSE

zlib-node is BSD licensed.

1.0.10

2 years ago

1.0.9

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago