{"_id":"deflate-crc32-stream","_rev":"9-7a4dfefd3258fbe5c051b910a34202ac","name":"deflate-crc32-stream","description":"a streaming deflater with CRC32 checksumer","dist-tags":{"latest":"0.1.2"},"versions":{"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@christalkington.com"}],"dist":{"shasum":"620c4a8257c2b20612eeabe9fa0ceeac8f423f22","tarball":"https://registry.npmjs.org/deflate-crc32-stream/-/deflate-crc32-stream-0.1.0.tgz","integrity":"sha512-wHTc+UN2lrWOH+aFOdtTk4P0yvAq6eVE/vKuMUu3S0e8+zQDKnKgD0C22+pKxUoCXCoXxAN5sFzNE2xLZki0vg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC0wjD4lE7MwUVhX9Q8w96tjd/PnVJFuda0CVTigN5IDQIgB2ZG/ftytz1SUc/U2g+7+E3JaDdnPAaSgp38JqO+kMc="}]},"deprecated":"module has been merged into crc32-stream"},"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@christalkington.com"}],"dist":{"shasum":"5df9e343174f56e7d6056e8ba1f91e5576c02160","tarball":"https://registry.npmjs.org/deflate-crc32-stream/-/deflate-crc32-stream-0.1.1.tgz","integrity":"sha512-oR2uOdO/uqY9yiAEZPOZXnIgGHua2Ch0APbCyaMVt+4WGyBohc93iepcjD0Bn66m/EMoxBlvpbhi7cBDiE85Fw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHrSS7QhQnLKuix172g0XcWRu1bXKVKiy0w71jX3X6+4AiAhfffU+OVMZKmuF+DIb459RMNinjAlCTZsVneGzx2JLQ=="}]},"deprecated":"module has been merged into crc32-stream"},"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@christalkington.com"}],"dist":{"shasum":"975ea0e7303b75d85232198ab7b405c2d47baad5","tarball":"https://registry.npmjs.org/deflate-crc32-stream/-/deflate-crc32-stream-0.1.2.tgz","integrity":"sha512-Rj5E7qk/oWRc9Nj43OnXlhlraSY1OeMk4zbRQQsVRyf8KVAT2Ajh2zaB7nFHuEQM3dU68TRuSmKeNQuKkJLQNg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDeWrLmB3nQKwFA4mlf0OWXcW0KoWIGb0azaFCmiyPxVAIgFQOfhHzaueEGE/VyjdCyY/sy/bJI2Gt2w9IWwCRyu1k="}]},"deprecated":"module has been merged into crc32-stream"}},"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)","maintainers":[{"name":"ctalkington","email":"chris@christalkington.com"}],"time":{"modified":"2022-06-14T23:31:25.543Z","created":"2014-05-26T16:30:27.926Z","0.1.0":"2014-05-26T16:30:27.926Z","0.1.1":"2014-05-26T16:52:59.574Z","0.1.2":"2014-08-26T12:58:28.183Z"},"homepage":"https://github.com/ctalkington/node-deflate-crc32-stream","keywords":["deflate","crc32-stream","crc32","stream","checksum"],"repository":{"type":"git","url":"https://github.com/ctalkington/node-deflate-crc32-stream.git"},"author":{"name":"Chris Talkington","url":"http://christalkington.com/"},"bugs":{"url":"https://github.com/ctalkington/node-deflate-crc32-stream/issues"},"readmeFilename":"README.md"}