zlib
Simple, synchronous deflate/inflate for buffers

zlib downloads zlib version

zlib類似套件:
npm下載趨勢
3 年
🌟 在 zlib 的 README.md 中顯示即時使用量圖表,只需複製下面的代碼。
## 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
🌟 在 zlib 的 README.md 中顯示 GitHub stars 趨勢圖表,只需複製下面的代碼。
## GitHub Stars Trend
[![GitHub Stars Trend of zlib](https://npm-compare.com/img/github-trend/zlib.png)](https://npm-compare.com/zlib)
統計詳情
套件
下載數
Stars
大小
Issues
發布時間
許可
zlib348,04063-1114 年前-
zlib 的 README

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.