{"name":"crc-utils2","version":"0.9.13","description":"CRC Utils. Combines two or more CRC32 checksums into new one.","keywords":["crc32","crc32_combine","crc","gzip"],"author":{"name":"Sławomir Janecki","email":"janecki@gmail.com"},"dependencies":{"compress-buffer-crc32":"","binpack":""},"main":"./index.js","repository":{"type":"git","url":"git://github.com/DreamLab/crc32_combine2.git"},"engines":{"node":">= 0.4.0"},"_npmUser":{"name":"kuebk","email":"kuebzky@gmail.com"},"_id":"crc-utils2@0.9.13","scripts":{"preinstall":"node-waf clean || true; node-waf configure build"},"devDependencies":{},"_engineSupported":true,"_npmVersion":"1.0.105","_nodeVersion":"v0.4.12","_defaultsLoaded":true,"dist":{"shasum":"3701065025331158eb9d32f183a3d42c93fde287","tarball":"http://registry-npm.ywwl.com/crc-utils2/download/crc-utils2-0.9.13.tgz","integrity":"sha512-31am4mr3wKBP8YpfZ32sgaNoXmfX2ct59PXn8vl15/xsAhpAr27oPfhJ12ghtt+x1xgt+Q3JmZ0dTxG2RVELhw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIH3Cn++NVUnuDnUz9zyNML4h7atWn2ZYtHplx67ut7HDAiAWgj+RGZtc2vGeD1G8eJZ74jVtg9FmnETY1FfDIaYKZQ=="}],"size":4124,"noattachment":false,"key":"/crc-utils2/-/crc-utils2-0.9.13.tgz"},"maintainers":[{"name":"soymo","email":"grzegorz.lyczba@gmail.com"},{"name":"kuebk","email":"kuebzky@gmail.com"},{"name":"dreamlab","email":"janecki@gmail.com"}],"directories":{},"readme":"Node CRC32 Utils\n==============\n\nCombines two or more CRC32 checksums into new one.\n\n##How to build/install:\n```\nnode-gyp configure build\n```\nor\n```\nnpm install crc-utils\n```\n\n##Example:\n```\nvar crcUtils = require('crc-utils');\n\n// for crc32 checksum use lib: https://github.com/brianloveswords/buffer-crc32/\nvar crc32 = require('buffer-crc32');\n\nvar foo = new Buffer('foo');\nvar bar = new Buffer('bar');\n\nvar fooCrc32 = crc32(foo); // <Buffer 8c 73 65 21>\nvar barCrc32 = crc32(bar); // <Buffer 76 ff 8c aa>\n \nvar foobar = new Buffer('foobar');\nvar foobarCrc32 = crc32(foobar);\n\nvar foobarCrc32Combined = crcUtils.crc32_combine(\n  fooCrc32.readUInt32BE(0), \n  barCrc32.readUInt32BE(0), \n  bar.length\n); \n\n// CRC32 are the same but Endianness is prepared for GZIP format\nconsole.log(foobarCrc32);         // <Buffer 9e f6 1f 95>\nconsole.log(foobarCrc32Combined); // <Buffer 95 1f f6 9e>\n```\n","publish_time":1376903481592,"_cnpm_publish_time":1376903481592,"dist-tags":{"latest":"0.9.13"}}