Permalink
Cannot retrieve contributors at this time
54 lines (27 sloc)
1.09 KB
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
codeql-action/node_modules/zlib/README.md
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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`](https://github.com/isaacs/npm) to download and install them: | |
npm install zlib | |
# TESTS | |
[expresso](https://github.com/visionmedia/expresso) is required to run unit tests. | |
npm install expresso | |
make test | |
# CONTRIBUTORS | |
* [Konstantin Käfer](https://github.com/kkaefer) | |
# LICENSE | |
`node-zlib` is [BSD licensed](https://github.com/kkaefer/node-zlib/raw/master/LICENSE). |