zlib
Simple, synchronous deflate/inflate for buffers

zlib downloads zlib version

zlibPaquetes similares:
Tendencia de descargas de npm
3 Años
🌟 Muestra el gráfico de uso en tiempo real en el README.md de zlib, simplemente copia el código a continuación.
## Usage Trend
[![Usage Trend of zlib](https://npm-compare.com/img/npm-trend/THREE_YEARS/zlib.png)](https://npm-compare.com/zlib#timeRange=THREE_YEARS)
Cumulative GitHub Star Trend
🌟 Muestra el gráfico de tendencia de GitHub Stars en el README.md de zlib, simplemente copia el código a continuación.
## GitHub Stars Trend
[![GitHub Stars Trend of zlib](https://npm-compare.com/img/github-trend/zlib.png)](https://npm-compare.com/zlib)
Detalle de estadísticas
Paquete
Descargas
Stars
Tamaño
Issues
Publicación
Licencia
zlib348,04063-11hace 14 años-
README para zlib

NAME

node-zlib - Simple, synchronous deflate/inflate for node.js buffers.

USAGE

Install with npm install zlib.

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

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

Note that node-zlib 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/kkaefer/node-zlib.git
cd node-zlib
./configure
make

You can also use npm to download and install them:

npm install zlib

TESTS

expresso is required to run unit tests.

npm install expresso
make test

CONTRIBUTORS

LICENSE

node-zlib is BSD licensed.