{"_id":"crc32-stream","_rev":"21-2d2980e35d4d98a49e2a7cdb7d235f0a","name":"crc32-stream","description":"a streaming CRC32 checksumer","dist-tags":{"latest":"0.4.0"},"versions":{"0.1.0":{"name":"crc32-stream","version":"0.1.0","description":"a streaming CRC32 checksumer","homepage":"https://github.com/ctalkington/node-crc32-stream","author":{"name":"Chris Talkington","url":"http://christalkington.com/"},"repository":{"type":"git","url":"https://github.com/ctalkington/node-crc32-stream.git"},"bugs":{"url":"https://github.com/ctalkington/node-crc32-stream/issues"},"licenses":[{"type":"MIT","url":"https://github.com/ctalkington/node-crc32-stream/blob/master/LICENSE-MIT"}],"main":"lib/crc32-stream.js","engines":{"node":">= 0.8.0"},"scripts":{"test":"mocha --reporter dot"},"dependencies":{"readable-stream":"~1.0.24","lodash.defaults":"~2.4.1","buffer-crc32":"~0.2.1"},"devDependencies":{"chai":"~1.8.1","mocha":"~1.16.0","rimraf":"~2.2.0","mkdirp":"~0.3.5"},"keywords":["crc32-stream","crc32","stream","checksum"],"_id":"crc32-stream@0.1.0","dist":{"shasum":"51cd0c0966dbfe471ed8f3689234a75288af5cd4","tarball":"http://registry.npmjs.org/crc32-stream/-/crc32-stream-0.1.0.tgz"},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"ctalkington","email":"chris@christalkington.com"},"maintainers":[{"name":"ctalkington","email":"chris@christalkington.com"}],"directories":{}},"0.1.1":{"name":"crc32-stream","version":"0.1.1","description":"a streaming CRC32 checksumer","homepage":"https://github.com/ctalkington/node-crc32-stream","author":{"name":"Chris Talkington","url":"http://christalkington.com/"},"repository":{"type":"git","url":"https://github.com/ctalkington/node-crc32-stream.git"},"bugs":{"url":"https://github.com/ctalkington/node-crc32-stream/issues"},"licenses":[{"type":"MIT","url":"https://github.com/ctalkington/node-crc32-stream/blob/master/LICENSE-MIT"}],"main":"lib/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":["crc32-stream","crc32","stream","checksum"],"_id":"crc32-stream@0.1.1","dist":{"shasum":"06ab698d880fb033ca9f0ad34f2564cb5bcd9518","tarball":"http://registry.npmjs.org/crc32-stream/-/crc32-stream-0.1.1.tgz"},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"ctalkington","email":"chris@christalkington.com"},"maintainers":[{"name":"ctalkington","email":"chris@christalkington.com"}],"directories":{}},"0.1.1-1":{"name":"crc32-stream","version":"0.1.1-1","description":"a streaming CRC32 checksumer","homepage":"https://github.com/ctalkington/node-crc32-stream","author":{"name":"Chris Talkington","url":"http://christalkington.com/"},"repository":{"type":"git","url":"https://github.com/ctalkington/node-crc32-stream.git"},"bugs":{"url":"https://github.com/ctalkington/node-crc32-stream/issues"},"licenses":[{"type":"MIT","url":"https://github.com/ctalkington/node-crc32-stream/blob/master/LICENSE-MIT"}],"main":"lib/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":["crc32-stream","crc32","stream","checksum"],"_id":"crc32-stream@0.1.1-1","dist":{"shasum":"fcfd1a4a082cf53a657dffa208f545d6acd87905","tarball":"http://registry.npmjs.org/crc32-stream/-/crc32-stream-0.1.1-1.tgz"},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"ctalkington","email":"chris@christalkington.com"},"maintainers":[{"name":"ctalkington","email":"chris@christalkington.com"}],"directories":{}},"0.1.1-2":{"name":"crc32-stream","version":"0.1.1-2","description":"a streaming CRC32 checksumer","homepage":"https://github.com/ctalkington/node-crc32-stream","author":{"name":"Chris Talkington","url":"http://christalkington.com/"},"repository":{"type":"git","url":"https://github.com/ctalkington/node-crc32-stream.git"},"bugs":{"url":"https://github.com/ctalkington/node-crc32-stream/issues"},"licenses":[{"type":"MIT","url":"https://github.com/ctalkington/node-crc32-stream/blob/master/LICENSE-MIT"}],"main":"lib/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":["crc32-stream","crc32","stream","checksum"],"_id":"crc32-stream@0.1.1-2","dist":{"shasum":"57ecfee0fc38d939e9c3ec376b1b1cd81896956a","tarball":"http://registry.npmjs.org/crc32-stream/-/crc32-stream-0.1.1-2.tgz"},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"ctalkington","email":"chris@christalkington.com"},"maintainers":[{"name":"ctalkington","email":"chris@christalkington.com"}],"directories":{}},"0.1.2":{"name":"crc32-stream","version":"0.1.2","description":"a streaming CRC32 checksumer","homepage":"https://github.com/ctalkington/node-crc32-stream","author":{"name":"Chris Talkington","url":"http://christalkington.com/"},"repository":{"type":"git","url":"https://github.com/ctalkington/node-crc32-stream.git"},"bugs":{"url":"https://github.com/ctalkington/node-crc32-stream/issues"},"licenses":[{"type":"MIT","url":"https://github.com/ctalkington/node-crc32-stream/blob/master/LICENSE-MIT"}],"main":"lib/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":["crc32-stream","crc32","stream","checksum"],"_id":"crc32-stream@0.1.2","dist":{"shasum":"162f2ca7b1092c271f795f461709ccf4a3f43caa","tarball":"http://registry.npmjs.org/crc32-stream/-/crc32-stream-0.1.2.tgz"},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"ctalkington","email":"chris@christalkington.com"},"maintainers":[{"name":"ctalkington","email":"chris@christalkington.com"}],"directories":{}},"0.2.0":{"name":"crc32-stream","version":"0.2.0","description":"a streaming CRC32 checksumer","homepage":"https://github.com/ctalkington/node-crc32-stream","author":{"name":"Chris Talkington","url":"http://christalkington.com/"},"repository":{"type":"git","url":"https://github.com/ctalkington/node-crc32-stream.git"},"bugs":{"url":"https://github.com/ctalkington/node-crc32-stream/issues"},"licenses":[{"type":"MIT","url":"https://github.com/ctalkington/node-crc32-stream/blob/master/LICENSE-MIT"}],"main":"lib/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":["crc32-stream","crc32","stream","checksum"],"_id":"crc32-stream@0.2.0","_shasum":"5c80d480c8682f904b6f15530dbbe0b8c063dbbe","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"ctalkington","email":"chris@christalkington.com"},"maintainers":[{"name":"ctalkington","email":"chris@christalkington.com"}],"dist":{"shasum":"5c80d480c8682f904b6f15530dbbe0b8c063dbbe","tarball":"http://registry.npmjs.org/crc32-stream/-/crc32-stream-0.2.0.tgz"},"directories":{}},"0.3.0":{"name":"crc32-stream","version":"0.3.0","description":"a streaming CRC32 checksumer","homepage":"https://github.com/ctalkington/node-crc32-stream","author":{"name":"Chris Talkington","url":"http://christalkington.com/"},"repository":{"type":"git","url":"https://github.com/ctalkington/node-crc32-stream.git"},"bugs":{"url":"https://github.com/ctalkington/node-crc32-stream/issues"},"licenses":[{"type":"MIT","url":"https://github.com/ctalkington/node-crc32-stream/blob/master/LICENSE-MIT"}],"main":"lib/index.js","files":["lib","LICENSE-MIT"],"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":["crc32-stream","crc32","stream","checksum"],"gitHead":"93c656c7445f7c04d276e3c7b2475f00d31de40e","_id":"crc32-stream@0.3.0","_shasum":"6342a0852543c847c04e0b17176ca35fabbd9b40","_from":".","_npmVersion":"1.4.23","_npmUser":{"name":"ctalkington","email":"chris@christalkington.com"},"maintainers":[{"name":"ctalkington","email":"chris@christalkington.com"}],"dist":{"shasum":"6342a0852543c847c04e0b17176ca35fabbd9b40","tarball":"http://registry.npmjs.org/crc32-stream/-/crc32-stream-0.3.0.tgz"},"directories":{}},"0.3.1":{"name":"crc32-stream","version":"0.3.1","description":"a streaming CRC32 checksumer","homepage":"https://github.com/ctalkington/node-crc32-stream","author":{"name":"Chris Talkington","url":"http://christalkington.com/"},"repository":{"type":"git","url":"https://github.com/ctalkington/node-crc32-stream.git"},"bugs":{"url":"https://github.com/ctalkington/node-crc32-stream/issues"},"licenses":[{"type":"MIT","url":"https://github.com/ctalkington/node-crc32-stream/blob/master/LICENSE-MIT"}],"main":"lib/index.js","files":["lib","LICENSE-MIT"],"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":["crc32-stream","crc32","stream","checksum"],"gitHead":"72ed0a3d6d2737897b96a7b015b4e1cf207fa971","_id":"crc32-stream@0.3.1","_shasum":"615fcf05ed08342a3d1e938041aed84430ce7837","_from":".","_npmVersion":"1.4.23","_npmUser":{"name":"ctalkington","email":"chris@christalkington.com"},"maintainers":[{"name":"ctalkington","email":"chris@christalkington.com"}],"dist":{"shasum":"615fcf05ed08342a3d1e938041aed84430ce7837","tarball":"http://registry.npmjs.org/crc32-stream/-/crc32-stream-0.3.1.tgz"},"directories":{}},"0.3.2":{"name":"crc32-stream","version":"0.3.2","description":"a streaming CRC32 checksumer","homepage":"https://github.com/archiverjs/node-crc32-stream","author":{"name":"Chris Talkington","url":"http://christalkington.com/"},"repository":{"type":"git","url":"https://github.com/archiverjs/node-crc32-stream.git"},"bugs":{"url":"https://github.com/archiverjs/node-crc32-stream/issues"},"licenses":[{"type":"MIT","url":"https://github.com/archiverjs/node-crc32-stream/blob/master/LICENSE-MIT"}],"main":"lib/index.js","files":["lib","LICENSE-MIT"],"engines":{"node":">= 0.8.0"},"scripts":{"test":"mocha --reporter dot"},"dependencies":{"readable-stream":"~1.0.24","buffer-crc32":"~0.2.1"},"devDependencies":{"chai":"~2.0.0","mocha":"~2.1.0"},"keywords":["crc32-stream","crc32","stream","checksum"],"gitHead":"5fff7a70787e28b634c166ecb4e6184ad0efca66","_id":"crc32-stream@0.3.2","_shasum":"8c86a5c4ed38c53e36750d662784ad8ec642e38e","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"ctalkington","email":"chris@christalkington.com"},"maintainers":[{"name":"ctalkington","email":"chris@christalkington.com"}],"dist":{"shasum":"8c86a5c4ed38c53e36750d662784ad8ec642e38e","tarball":"http://registry.npmjs.org/crc32-stream/-/crc32-stream-0.3.2.tgz"},"directories":{}},"0.3.3":{"name":"crc32-stream","version":"0.3.3","description":"a streaming CRC32 checksumer","homepage":"https://github.com/archiverjs/node-crc32-stream","author":{"name":"Chris Talkington","url":"http://christalkington.com/"},"repository":{"type":"git","url":"https://github.com/archiverjs/node-crc32-stream.git"},"bugs":{"url":"https://github.com/archiverjs/node-crc32-stream/issues"},"licenses":[{"type":"MIT","url":"https://github.com/archiverjs/node-crc32-stream/blob/master/LICENSE-MIT"}],"main":"lib/index.js","files":["lib","LICENSE-MIT"],"engines":{"node":">= 0.8.0"},"scripts":{"test":"mocha --reporter dot"},"dependencies":{"readable-stream":"~1.0.24","buffer-crc32":"~0.2.1"},"devDependencies":{"chai":"~2.1.0","mocha":"~2.2.0"},"keywords":["crc32-stream","crc32","stream","checksum"],"gitHead":"c66070c342fb9ea2493576e64f450914b31f84f8","_id":"crc32-stream@0.3.3","_shasum":"27cdfad6eec97a139820e3bff2b4aaad82e85e19","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"ctalkington","email":"chris@talkingtontech.com"},"maintainers":[{"name":"ctalkington","email":"chris@christalkington.com"}],"dist":{"shasum":"27cdfad6eec97a139820e3bff2b4aaad82e85e19","tarball":"http://registry.npmjs.org/crc32-stream/-/crc32-stream-0.3.3.tgz"},"directories":{}},"0.3.4":{"name":"crc32-stream","version":"0.3.4","description":"a streaming CRC32 checksumer","homepage":"https://github.com/archiverjs/node-crc32-stream","author":{"name":"Chris Talkington","url":"http://christalkington.com/"},"repository":{"type":"git","url":"git+https://github.com/archiverjs/node-crc32-stream.git"},"bugs":{"url":"https://github.com/archiverjs/node-crc32-stream/issues"},"license":"MIT","main":"lib/index.js","files":["lib"],"engines":{"node":">= 0.8.0"},"scripts":{"test":"mocha --reporter dot"},"dependencies":{"readable-stream":"~1.0.24","buffer-crc32":"~0.2.1"},"devDependencies":{"chai":"~2.1.0","mocha":"~2.2.0"},"keywords":["crc32-stream","crc32","stream","checksum"],"publishConfig":{"registry":"https://registry.npmjs.org/"},"gitHead":"2e31a846a5bb2db3849d85d3865dae837bbbaa3e","_id":"crc32-stream@0.3.4","_shasum":"73bc25b45fac1db6632231a7bfce8927e9f06552","_from":".","_npmVersion":"2.8.3","_nodeVersion":"0.12.2","_npmUser":{"name":"ctalkington","email":"chris@christalkington.com"},"maintainers":[{"name":"ctalkington","email":"chris@christalkington.com"}],"dist":{"shasum":"73bc25b45fac1db6632231a7bfce8927e9f06552","tarball":"http://registry.npmjs.org/crc32-stream/-/crc32-stream-0.3.4.tgz"},"directories":{}},"0.4.0":{"name":"crc32-stream","version":"0.4.0","description":"a streaming CRC32 checksumer","homepage":"https://github.com/archiverjs/node-crc32-stream","author":{"name":"Chris Talkington","url":"http://christalkington.com/"},"repository":{"type":"git","url":"git+https://github.com/archiverjs/node-crc32-stream.git"},"bugs":{"url":"https://github.com/archiverjs/node-crc32-stream/issues"},"license":"MIT","main":"lib/index.js","files":["lib"],"engines":{"node":">= 0.8.0"},"scripts":{"test":"mocha --reporter dot"},"dependencies":{"readable-stream":"~2.0.0","buffer-crc32":"~0.2.1"},"devDependencies":{"chai":"~3.4.0","mocha":"~2.3.0"},"keywords":["crc32-stream","crc32","stream","checksum"],"publishConfig":{"registry":"https://registry.npmjs.org/"},"gitHead":"1331842f2c975d417183b2f9b466aefc3b4e6d9f","_id":"crc32-stream@0.4.0","_shasum":"b54d4c6eefd35b53e653d062b306edc6316ae26d","_from":".","_npmVersion":"3.3.12","_nodeVersion":"4.2.2","_npmUser":{"name":"ctalkington","email":"chris@talkingtontech.com"},"maintainers":[{"name":"ctalkington","email":"chris@christalkington.com"}],"dist":{"shasum":"b54d4c6eefd35b53e653d062b306edc6316ae26d","tarball":"http://registry.npmjs.org/crc32-stream/-/crc32-stream-0.4.0.tgz"},"directories":{}}},"readme":"# crc32-stream v0.4.0 [![Build Status](https://travis-ci.org/archiverjs/node-crc32-stream.svg?branch=master)](https://travis-ci.org/archiverjs/node-crc32-stream) [![Build status](https://ci.appveyor.com/api/projects/status/sy60s39cmyvd60i3/branch/master?svg=true)](https://ci.appveyor.com/project/ctalkington/node-crc32-stream/branch/master)\r\n\r\ncrc32-stream is a streaming 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 is passed through untouched.\r\n\r\n[![NPM](https://nodei.co/npm/crc32-stream.png)](https://nodei.co/npm/crc32-stream/)\r\n\r\n### Install\r\n\r\n```bash\r\nnpm install crc32-stream --save\r\n```\r\n\r\nYou can also use `npm install https://github.com/archiverjs/node-crc32-stream/archive/master.tar.gz` to test upcoming versions.\r\n\r\n### Usage\r\n\r\n#### CRC32Stream\r\n\r\nInherits [Transform Stream](http://nodejs.org/api/stream.html#stream_class_stream_transform) options and methods.\r\n\r\n```js\r\nvar CRC32Stream = require('crc32-stream');\r\n\r\nvar source = fs.createReadStream('file.txt');\r\nvar checksum = new CRC32Stream();\r\n\r\nchecksum.on('end', function(err) {\r\n // do something with checksum.digest() here\r\n});\r\n\r\n// either pipe it\r\nsource.pipe(checksum);\r\n\r\n// or write it\r\nchecksum.write('string');\r\nchecksum.end();\r\n```\r\n\r\n#### DeflateCRC32Stream\r\n\r\nInherits [zlib.DeflateRaw](http://nodejs.org/api/zlib.html#zlib_class_zlib_deflateraw) options and methods.\r\n\r\n```js\r\nvar DeflateCRC32Stream = require('crc32-stream').DeflateCRC32Stream;\r\n\r\nvar source = fs.createReadStream('file.txt');\r\nvar checksum = new DeflateCRC32Stream();\r\n\r\nchecksum.on('end', function(err) {\r\n // do something with checksum.digest() here\r\n});\r\n\r\n// either pipe it\r\nsource.pipe(checksum);\r\n\r\n// or write it\r\nchecksum.write('string');\r\nchecksum.end();\r\n```\r\n\r\n### Instance API\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 size/length of passed-through data.\r\n\r\nIf `compressed` is `true`, it returns compressed length instead. (DeflateCRC32Stream)\r\n\r\n## Things of Interest\r\n\r\n- [Changelog](https://github.com/archiverjs/node-crc32-stream/releases)\r\n- [Contributing](https://github.com/archiverjs/node-crc32-stream/blob/master/CONTRIBUTING.md)\r\n- [MIT License](https://github.com/archiverjs/node-crc32-stream/blob/master/LICENSE-MIT)","maintainers":[{"name":"ctalkington","email":"chris@christalkington.com"}],"time":{"modified":"2015-11-24T22:18:35.731Z","created":"2014-03-30T17:20:32.021Z","0.1.0":"2014-03-30T17:20:32.021Z","0.1.1":"2014-03-30T17:48:50.341Z","0.1.1-1":"2014-03-30T17:51:45.972Z","0.1.1-2":"2014-03-30T18:26:44.848Z","0.1.2":"2014-04-19T02:57:19.529Z","0.2.0":"2014-05-04T01:36:18.325Z","0.3.0":"2014-08-26T12:40:48.050Z","0.3.1":"2014-08-26T12:48:46.536Z","0.3.2":"2015-02-15T02:24:19.539Z","0.3.3":"2015-03-25T15:53:30.841Z","0.3.4":"2015-05-20T15:08:38.642Z","0.4.0":"2015-11-24T22:18:35.731Z"},"homepage":"https://github.com/archiverjs/node-crc32-stream","keywords":["crc32-stream","crc32","stream","checksum"],"repository":{"type":"git","url":"git+https://github.com/archiverjs/node-crc32-stream.git"},"author":{"name":"Chris Talkington","url":"http://christalkington.com/"},"bugs":{"url":"https://github.com/archiverjs/node-crc32-stream/issues"},"readmeFilename":"README.md","license":"MIT","_attachments":{},"_etag":"\"E64R85CMEWH9KHG7OGJPGK8M6\""}