{"_id":"deflate-crc32-stream","_rev":"101782","name":"deflate-crc32-stream","description":"a streaming deflater with CRC32 checksumer","dist-tags":{"latest":"0.1.2"},"maintainers":[{"name":"ctalkington","email":"chris@talkingtontech.com"}],"time":{"modified":"2021-06-03T10:35:36.000Z","created":"2014-05-26T16:30:27.926Z","0.1.2":"2014-08-26T12:58:28.183Z","0.1.1":"2014-05-26T16:52:59.574Z","0.1.0":"2014-05-26T16:30:27.926Z"},"users":{},"author":{"name":"Chris Talkington","url":"http://christalkington.com/"},"repository":{"type":"git","url":"https://github.com/ctalkington/node-deflate-crc32-stream.git"},"versions":{"0.1.2":{"name":"deflate-crc32-stream","version":"0.1.2","description":"a streaming deflater with CRC32 checksumer","homepage":"https://github.com/ctalkington/node-deflate-crc32-stream","author":{"name":"Chris Talkington","url":"http://christalkington.com/"},"repository":{"type":"git","url":"https://github.com/ctalkington/node-deflate-crc32-stream.git"},"bugs":{"url":"https://github.com/ctalkington/node-deflate-crc32-stream/issues"},"licenses":[{"type":"MIT","url":"https://github.com/ctalkington/node-deflate-crc32-stream/blob/master/LICENSE-MIT"}],"main":"lib/deflate-crc32-stream.js","files":["lib","LICENSE-MIT"],"engines":{"node":">= 0.8.0"},"scripts":{"test":"mocha --reporter dot"},"dependencies":{"buffer-crc32":"~0.2.1"},"devDependencies":{"chai":"~1.8.1","mocha":"~1.16.0","readable-stream":"~1.0.24"},"keywords":["deflate","crc32-stream","crc32","stream","checksum"],"gitHead":"5d7368d9a1c43259055e80b8bb41f78b56d687c6","_id":"deflate-crc32-stream@0.1.2","_shasum":"975ea0e7303b75d85232198ab7b405c2d47baad5","_from":".","_npmVersion":"1.4.23","_npmUser":{"name":"ctalkington","email":"chris@christalkington.com"},"maintainers":[{"name":"ctalkington","email":"chris@talkingtontech.com"}],"dist":{"shasum":"975ea0e7303b75d85232198ab7b405c2d47baad5","size":2382,"noattachment":false,"key":"/deflate-crc32-stream/-/deflate-crc32-stream-0.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/deflate-crc32-stream/download/deflate-crc32-stream-0.1.2.tgz"},"deprecated":"module has been merged into crc32-stream","directories":{},"publish_time":1409057908183,"_cnpm_publish_time":1409057908183,"_hasShrinkwrap":false},"0.1.1":{"name":"deflate-crc32-stream","version":"0.1.1","description":"a streaming deflater with CRC32 checksumer","homepage":"https://github.com/ctalkington/node-deflate-crc32-stream","author":{"name":"Chris Talkington","url":"http://christalkington.com/"},"repository":{"type":"git","url":"https://github.com/ctalkington/node-deflate-crc32-stream.git"},"bugs":{"url":"https://github.com/ctalkington/node-deflate-crc32-stream/issues"},"licenses":[{"type":"MIT","url":"https://github.com/ctalkington/node-deflate-crc32-stream/blob/master/LICENSE-MIT"}],"main":"lib/deflate-crc32-stream.js","files":["lib","LICENSE-MIT"],"engines":{"node":">= 0.8.0"},"scripts":{"test":"mocha --reporter dot"},"dependencies":{"buffer-crc32":"~0.2.1"},"devDependencies":{"chai":"~1.8.1","mocha":"~1.16.0","readable-stream":"~1.0.24"},"keywords":["deflate","crc32-stream","crc32","stream","checksum"],"_id":"deflate-crc32-stream@0.1.1","_shasum":"5df9e343174f56e7d6056e8ba1f91e5576c02160","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"ctalkington","email":"chris@christalkington.com"},"maintainers":[{"name":"ctalkington","email":"chris@talkingtontech.com"}],"dist":{"shasum":"5df9e343174f56e7d6056e8ba1f91e5576c02160","size":2460,"noattachment":false,"key":"/deflate-crc32-stream/-/deflate-crc32-stream-0.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/deflate-crc32-stream/download/deflate-crc32-stream-0.1.1.tgz"},"directories":{},"publish_time":1401123179574,"_cnpm_publish_time":1401123179574,"deprecated":"module has been merged into crc32-stream","_hasShrinkwrap":false},"0.1.0":{"name":"deflate-crc32-stream","version":"0.1.0","description":"a streaming deflater with CRC32 checksumer","homepage":"https://github.com/ctalkington/node-deflate-crc32-stream","author":{"name":"Chris Talkington","url":"http://christalkington.com/"},"repository":{"type":"git","url":"https://github.com/ctalkington/node-deflate-crc32-stream.git"},"bugs":{"url":"https://github.com/ctalkington/node-deflate-crc32-stream/issues"},"licenses":[{"type":"MIT","url":"https://github.com/ctalkington/node-deflate-crc32-stream/blob/master/LICENSE-MIT"}],"main":"lib/deflate-crc32-stream.js","engines":{"node":">= 0.8.0"},"scripts":{"test":"mocha --reporter dot"},"dependencies":{"readable-stream":"~1.0.24","buffer-crc32":"~0.2.1"},"devDependencies":{"chai":"~1.8.1","mocha":"~1.16.0"},"keywords":["deflate","crc32-stream","crc32","stream","checksum"],"_id":"deflate-crc32-stream@0.1.0","_shasum":"620c4a8257c2b20612eeabe9fa0ceeac8f423f22","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"ctalkington","email":"chris@christalkington.com"},"maintainers":[{"name":"ctalkington","email":"chris@talkingtontech.com"}],"dist":{"shasum":"620c4a8257c2b20612eeabe9fa0ceeac8f423f22","size":3770,"noattachment":false,"key":"/deflate-crc32-stream/-/deflate-crc32-stream-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/deflate-crc32-stream/download/deflate-crc32-stream-0.1.0.tgz"},"directories":{},"publish_time":1401121827926,"_cnpm_publish_time":1401121827926,"deprecated":"module has been merged into crc32-stream","_hasShrinkwrap":false}},"readme":"# deflate-crc32-stream v0.1.2\r\ndeflate-crc32-stream is a streaming deflater with CRC32 checksumer. It uses [buffer-crc32](https://www.npmjs.org/package/buffer-crc32) behind the scenes to reliably handle binary data and fancy character sets. Data comes through compressed with [zlib.DeflateRaw](http://nodejs.org/api/zlib.html#zlib_class_zlib_deflateraw).\r\n\r\n## Install\r\n\r\nThis module has been merged into [CRC32Stream](https://www.npmjs.org/package/crc32-stream). No future updates will be made to this module.\r\n\r\n### Usage\r\n\r\n```js\r\nvar CRC32Stream = require('deflate-crc32-stream');\r\n\r\nvar source = fs.createReadStream('file.txt');\r\nvar deflate = new DeflateCRC32Stream();\r\n\r\ndeflate.on('end', function(err) {\r\n  // do something with deflate.digest() here\r\n});\r\n\r\n// either pipe it\r\nsource.pipe(deflate);\r\n\r\n// or write it\r\ndeflate.write('string');\r\ndeflate.end();\r\n```\r\n\r\n### Instance API\r\n\r\nInherits [zlib.DeflateRaw](http://nodejs.org/api/zlib.html#zlib_class_zlib_deflateraw) methods.\r\n\r\n#### digest()\r\n\r\nReturns the checksum digest in unsigned form.\r\n\r\n#### hex()\r\n\r\nReturns the hexadecimal representation of the checksum digest. (ie E81722F0)\r\n\r\n#### size(compressed)\r\n\r\nReturns the raw uncompressed size/length of passed-through data.\r\n\r\nIf `compressed` is `true`, it returns compressed length instead.\r\n\r\n### Instance Options\r\n\r\nInherits [zlib.DeflateRaw](http://nodejs.org/api/zlib.html#zlib_class_zlib_deflateraw) options.\r\n\r\n## Things of Interest\r\n\r\n- [Changelog](https://github.com/ctalkington/node-deflate-crc32-stream/releases)\r\n- [Contributing](https://github.com/ctalkington/node-deflate-crc32-stream/blob/master/CONTRIBUTING.md)\r\n- [MIT License](https://github.com/ctalkington/node-deflate-crc32-stream/blob/master/LICENSE-MIT)","_attachments":{},"homepage":"https://github.com/ctalkington/node-deflate-crc32-stream","bugs":{"url":"https://github.com/ctalkington/node-deflate-crc32-stream/issues"}}