{"_id":"gzbz2","_rev":"17-0a5f7ba36e28cbece4e45f97c35d7d69","name":"gzbz2","description":"streaming gzip/gunzip bzip/bunzip (2) for node, requires libz/libbz2 (built on wave.to/node-compress)","dist-tags":{"latest":"0.2.0"},"versions":{"0.1.0":{"name":"gzbz2","description":"streaming gzip/gunzip bzip/bunzip (2) for node, requires libz/libbz2 (built on wave.to/node-compress)","homepage":"http://github.com/woodya/node-gzbz2","bugs":{"web":"http://github.com/woodya/node-gzbz2/issues"},"version":"0.1.0","author":{"name":"Woody Anderson","email":"woody.anderson@gmail.com"},"contributors":[{"name":"wave.to"}],"repository":{"type":"git","url":"http://github.com/woodya/node-gzbz2.git"},"engine":["node >=0.4.0"],"main":"build/default/gzbz2","modules":{"gunzipstream":"./gunzipstream","bunzipstream":"./bunzipstream"},"directories.lib":"build/default/","scripts":{"build":"node-waf configure build","test":"node-waf test","doc":"node-waf doc","preinstall":"node-waf configure build"},"_id":"gzbz2@0.1.0","engines":{"node":"*"},"_nodeSupported":true,"_npmVersion":"0.2.7-3","_nodeVersion":"v0.4.5","dist":{"tarball":"https://registry.npmjs.org/gzbz2/-/gzbz2-0.1.0.tgz","shasum":"1d9e000e7bebc2470a59536091dffe66106c9be2","integrity":"sha512-6EMv6sK9LtkaXquh+xQ/UeiT62uh9wOI1RZvNlvwFUHoAB0sKwd2G0FGPVWzMcsEaM4JepCAVK1TKD4Rs8HX0g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCYuiTLZzJsCh/4eUwtdUfgUcu7njHurpxHojt0v2vxawIgOmAYKNthdHpO5ArCsG3XqFfJ2T/08uJrhCCGkDKeUYE="}]}},"0.1.1":{"name":"gzbz2","description":"streaming gzip/gunzip bzip/bunzip (2) for node, requires libz/libbz2 (built on wave.to/node-compress)","homepage":"http://github.com/woodya/node-gzbz2","bugs":{"url":"http://github.com/woodya/node-gzbz2/issues"},"version":"0.1.1","author":{"name":"Woody Anderson","email":"woody.anderson@gmail.com"},"contributors":[{"name":"wave.to"}],"repository":{"type":"git","url":"git://github.com/woodya/node-gzbz2.git"},"main":"build/default/gzbz2","directories.lib":"build/default/","scripts":{"build":"node-waf configure build","test":"node-waf test","doc":"node-waf doc","preinstall":"node-waf clean || true; node-waf configure build"},"dependencies":{},"devDependencies":{},"engines":{"node":">=0.4.0"},"_npmJsonOpts":{"file":"/Users/woody/.npm/gzbz2/0.1.1/package/package.json","contributors":false,"serverjs":false,"wscript":true},"_id":"gzbz2@0.1.1","_engineSupported":true,"_npmVersion":"1.0.30","_nodeVersion":"v0.4.5","_defaultsLoaded":true,"dist":{"shasum":"28422b815a4f48da815cfcc5bfe5bc453dd210a1","tarball":"https://registry.npmjs.org/gzbz2/-/gzbz2-0.1.1.tgz","integrity":"sha512-2jPACCXTUD/4t1zT0dISXYhCFrq7VmWHmLGjiqKOGmWQDB6CjT3yiNMD1DQOykIwEhe1ZI06D5XidvfAibDalg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCzRrZhWA4KV0ti6W+E51fObEgyHoxqAygFINxmtAosSgIhAOxhLJf/5gut/MKYcsePn4+JJ0XHdJA4rOPwTlOCxwFq"}]},"maintainers":[{"name":"woodya","email":"woody.anderson@gmail.com"}]},"0.1.2":{"name":"gzbz2","description":"streaming gzip/gunzip bzip/bunzip (2) for node, requires libz/libbz2 (built on wave.to/node-compress)","homepage":"http://github.com/woodya/node-gzbz2","bugs":{"url":"http://github.com/woodya/node-gzbz2/issues"},"version":"0.1.2","author":{"name":"Woody Anderson","email":"woody.anderson@gmail.com"},"contributors":[{"name":"wave.to"}],"repository":{"type":"git","url":"git://github.com/woodya/node-gzbz2.git"},"main":"build/default/gzbz2","directories.lib":"build/default/","scripts":{"build":"node-waf configure build","test":"node-waf test","doc":"node-waf doc","preinstall":"node-waf clean || true; node-waf configure build"},"dependencies":{},"devDependencies":{},"engines":{"node":">=0.4.0"},"_npmJsonOpts":{"file":"/Users/woody/.npm/gzbz2/0.1.2/package/package.json","contributors":false,"serverjs":false,"wscript":true},"_id":"gzbz2@0.1.2","_engineSupported":true,"_npmVersion":"1.0.30","_nodeVersion":"v0.4.5","_defaultsLoaded":true,"dist":{"shasum":"8ee9443756673d0b3c0d4e0cf8a1111675109cfc","tarball":"https://registry.npmjs.org/gzbz2/-/gzbz2-0.1.2.tgz","integrity":"sha512-f9+mtenVETyjJgr2n5Jx68DjjeD2SmZGvBPl0e6shz0hi1c2tU+0lTYdiS7sM1YA0HSUOQPMxa/SuGCfNiHvUw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBOWBuxb4VaCTGaPRVwHiY1CAX+Mz3TWWS1mfSwT2s3dAiBQ4PqTGJiNy0esU3N57hCNvFpvEDi/Nz2/4jApWlzXwQ=="}]},"maintainers":[{"name":"woodya","email":"woody.anderson@gmail.com"}]},"0.1.3":{"name":"gzbz2","description":"streaming gzip/gunzip bzip/bunzip (2) for node, requires libz/libbz2 (built on wave.to/node-compress)","homepage":"http://github.com/woodya/node-gzbz2","bugs":{"url":"http://github.com/woodya/node-gzbz2/issues"},"version":"0.1.3","author":{"name":"Woody Anderson","email":"woody.anderson@gmail.com"},"contributors":[{"name":"wave.to"}],"repository":{"type":"git","url":"git://github.com/woodya/node-gzbz2.git"},"main":"build/default/gzbz2","directories.lib":"build/default/","scripts":{"build":"node-waf configure build","test":"node-waf test","doc":"node-waf doc","preinstall":"node-waf clean || true; node-waf configure build"},"dependencies":{},"devDependencies":{},"engines":{"node":">=0.4.0"},"_npmUser":{"name":"woodya","email":"woody.anderson@gmail.com"},"_id":"gzbz2@0.1.3","_engineSupported":true,"_npmVersion":"1.0.103","_nodeVersion":"v0.4.5","_defaultsLoaded":true,"dist":{"shasum":"df29ee8722fe60ef062c93498c53a01ddd3b00d2","tarball":"https://registry.npmjs.org/gzbz2/-/gzbz2-0.1.3.tgz","integrity":"sha512-XEy3fxWeMrj3mt6ZTADGjXO+//v8JSDjyeJ/TuucU8hVACNtxRrnMD8RfEly8/4CPLMAzYJFdOjOSb2F5IzrSQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC9qvwxnuvrG9c0lMwUueRTT6A49VPNfU7y8NC9d6D61gIhAJKthXuKMITiExEoiuI3l2CJw8AoO3QLx5BRLF//0yeY"}]},"maintainers":[{"name":"woodya","email":"woody.anderson@gmail.com"}]},"0.1.4":{"name":"gzbz2","description":"streaming gzip/gunzip bzip/bunzip (2) for node, requires libz/libbz2 (built on wave.to/node-compress)","homepage":"http://github.com/woodya/node-gzbz2","bugs":{"url":"http://github.com/woodya/node-gzbz2/issues"},"version":"0.1.4","author":{"name":"Woody Anderson","email":"woody.anderson@gmail.com"},"contributors":[{"name":"wave.to"}],"repository":{"type":"git","url":"git://github.com/woodya/node-gzbz2.git"},"main":"build/default/gzbz2","directories.lib":"build/default/","scripts":{"build":"node-waf configure build","test":"node-waf test","doc":"node-waf doc","preinstall":"node-waf clean || true; node-waf configure build"},"dependencies":{},"devDependencies":{},"engines":{"node":">=0.4.0"},"_npmUser":{"name":"woodya","email":"woody.anderson@gmail.com"},"_id":"gzbz2@0.1.4","_engineSupported":true,"_npmVersion":"1.0.103","_nodeVersion":"v0.4.5","_defaultsLoaded":true,"dist":{"shasum":"8077e55be69091861de838dfa32ccece051a2270","tarball":"https://registry.npmjs.org/gzbz2/-/gzbz2-0.1.4.tgz","integrity":"sha512-xYvsiMTQQPlvLgQAdfOz5ZbolVXylryY3o873gCKJlmVaB0/ePEVblk10bQ1+qiUOkSUHuTriYfHMa8Ge5O9zw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDwrLMdn9uqnhIT3hb5xVq5uJzCMgd8ht1NuTr3UPmH5wIhAJRYM9keJAB5/B+HySpzTSwN+DFwSykmM4mBr/KQOY9X"}]},"maintainers":[{"name":"woodya","email":"woody.anderson@gmail.com"}]},"0.2.0":{"name":"gzbz2","description":"streaming gzip/gunzip bzip/bunzip (2) for node, requires libz/libbz2 (built on wave.to/node-compress)","homepage":"http://github.com/woodya/node-gzbz2","bugs":{"url":"http://github.com/woodya/node-gzbz2/issues"},"version":"0.2.0","author":{"name":"Woody Anderson","email":"woody.anderson@gmail.com"},"contributors":[{"name":"wave.to"}],"repository":{"type":"git","url":"git://github.com/woodya/node-gzbz2.git"},"main":"build/Release/gzbz2.node","directories.lib":"build/Release/","scripts":{"build":"node-gyp configure build","test":"node test.js","doc":"node-waf doc","preinstall":"node-gyp clean || true; node-gyp configure build"},"dependencies":{},"devDependencies":{},"engines":{"node":">=0.4.0"},"gitHead":"3d58a64db9b6f299a35737f70e0d5fd675bd839b","_id":"gzbz2@0.2.0","_shasum":"d5464ee291c7360dde408794ae26efb8a7c45313","_from":".","_npmVersion":"1.4.14","_npmUser":{"name":"woodya","email":"woody.anderson@gmail.com"},"maintainers":[{"name":"woodya","email":"woody.anderson@gmail.com"}],"dist":{"shasum":"d5464ee291c7360dde408794ae26efb8a7c45313","tarball":"https://registry.npmjs.org/gzbz2/-/gzbz2-0.2.0.tgz","integrity":"sha512-DaeRU3jIe3b5s9CH7AFI3CYpKAhwU9qK9LogmWORz2XpSELFPJKllIPCh4rFmyt57YHwoBOFouaINQyvcVY5mg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCRo4CblFL0rOkRr7XvayxUcRWfYCaO1pMVZ+RNqP+a7AIhAITq/1sbdkLd6/FhSszW1Ez1ilcMEtoCxPgbCIqG419J"}]}}},"maintainers":[{"name":"woodya","email":"woody.anderson@gmail.com"}],"time":{"modified":"2022-06-18T18:32:23.185Z","created":"2011-06-10T07:51:46.010Z","0.1.0":"2011-06-10T07:51:46.331Z","0.1.1":"2011-09-30T06:12:02.218Z","0.1.2":"2011-10-08T18:44:32.091Z","0.1.3":"2011-10-28T05:01:04.223Z","0.1.4":"2011-11-07T02:21:36.640Z","0.2.0":"2015-01-07T19:30:12.834Z"},"author":{"name":"Woody Anderson","email":"woody.anderson@gmail.com"},"repository":{"type":"git","url":"git://github.com/woodya/node-gzbz2.git"},"users":{"atheken":true},"readme":"INFO\n----\n\ngzbz2 - A Node.js interface to streaming gzip/bzip2 compression (built originally from wave.to/node-compress)\n\nsupports Buffe or string as both input and output, this is controlled by providing encodings to init (to produce Buffers), or by passing whichever you are using as input (with optional encoding for strings).\nBzip and Gzip have the same interfaces, see Versions for specific options info. Also there are two simple js wrappers for producing usable read streams, gunzipstream.js and bunzipstream.js. \n\nINSTALL\n-------\n\nTo install, ensure that you have libz (and libbz2) installed:\n* these will be looked for in: /usr/lib, /usr/local/lib, /opt/local/lib (on osx)\n\nnpm install gzbz2\n\nor\n\nwaf way: node-waf configure [--no-bzip] [--no-gzip]\n\ngyp way: node-gype configure  (no idea how to conditionally configure..)\n\nnode-gyp build\n\nNote: on osx, you must run node-waf with python2.6 or greater for configure to work properly. (unsure if this applies to node-gyp)\n\nQuick Gzip example\n------------------\n\n    var gzbz2 = require(\"gzbz2\");\n    var util = require(\"util\");\n\n    // Create gzip stream\n    var gzip = new gzbz2.Gzip;\n    // binary string output\n    // init also accepts level: [0-9]\n    gzip.init({encoding: 'binary'});\n\n    // Pump data to be compressed\n    var gzdata1 = gzip.deflate(\"My data that needs \", \"ascii\");\n    util.puts(\"Compressed size : \"+gzdata1.length);\n\n    // treat string as binary encoded\n    var gzdata2 = gzip.deflate(\"to be compressed. 01234567890.\");\n    util.puts(\"Compressed size : \"+gzdata2.length);\n\n    var gzdata3 = gzip.end(); // important to capture end data\n    util.puts(\"Last bit : \"+gzdata3.length);\n\n    // Normally stream this out as its generated, but just print here\n    var gzdata = gzdata1+gzdata2+gzdata3;\n    util.puts(\"Total compressed size : \"+gzdata.length);\n\nQuick Gunzip example\n--------------------\n\n    var gzbz2 = require(\"gzbz2\");\n    var fs = require(\"fs\");\n\n    var gunzip = new gzbz2.Gunzip;\n    gunzip.init({encoding: \"utf8\"});\n\n    var gzdata = fs.readFileSync(\"somefile.gz\", \"binary\");\n    var inflated = gunzip.inflate(gzdata, \"binary\");\n    gunzip.end(); // returns nothing\n\nQuick Gunzip Stream example\n---------------------------\n    var fs = require('fs'),\n        gunzip = require('gzbz2/gunzipstream');\n    \n    var stream = gunzip.wrap(process.argv[2], {encoding: process.argv[3]});\n    stream.on('data', function(data) {\n        process.stdout.write(data);\n    });\n    stream.on('end', function() {\n        process.exit(0);\n    });\n\nVersions\n--------\n\n* 0.2.0:\n    * added ripcurld00d's updates for node-gyp & node\\_event.h removal\n* 0.1.\\*:\n    * added bzip2 support. same interface. Bzip/Bunzip objects, bzip specific init options\n        * bzip.init\n            * encoding (the output encoding, undefined/null means Buffers)\n            * level [1-9], 1 fastest (least memory), 9 slowest (most memory), default = 1\n            * workfactor [0-250], read libbz2 docs, default = 30\n        * bunzip.init\n            * encoding (the output encoding, undefined/null means Buffers)\n            * small (boolean[false]) deflate in slow but small memory mode, default = false\n    * buffer capable (on by default, this changes the default api use)\n        * buffer input inflate/deflate always allowed, buffer output from same is the default\n    * init accepts options object to configure buffer behavior, compression, and inflated encoding etc:\n        * Gzip.init({encoding: enc, level: [0-9]}), level controls compression level 0 = none, 1 = lowest etc.\n        * Gunzip.init({encoding: enc})\n        * if an encoding is provided to init(), then the output of inflate/deflate will be a string\n        * when providing encodings (either for input our output) for binary data, 'binary' is the only viable encoding, as base64 is not currenlty supported\n    * inflate accepts a buffer or binary string[+encoding[default = 'binary']], output will be a buffer or a string encoded according to init options\n    * deflate accepts a buffer or string[+encoding[default = 'utf8']], output will be a buffer or a string encoded according to init options\n    * also added two submodules gunzipstream, and bunzipstream\n        * use these to quickly/easily decompress a file while writing similar code to regular input streams\n* 0.0.\\*:\n    * all string based, encodings in inflate/deflate methods, no init params\n\nAuthors\n-------\n* wave.to: developer of node-compress aka 0.0.1 version and the general framework\n* woody.anderson@gmail.com, fixed bugs/memory leaks, added 0.1.\\* features: buffers, bzip2, npm as gzbz2, \n","homepage":"http://github.com/woodya/node-gzbz2","contributors":[{"name":"wave.to"}],"bugs":{"url":"http://github.com/woodya/node-gzbz2/issues"},"readmeFilename":"README.md"}