{"_id":"hash-through","_rev":"3334286","name":"hash-through","description":"a PassThrough stream that taps to chunks flow and calculates the digest on the fly","dist-tags":{"latest":"0.1.16"},"maintainers":[{"name":"heroqu","email":""}],"time":{"modified":"2024-07-10T07:40:16.000Z","created":"2017-08-14T18:13:00.166Z","0.1.16":"2018-07-10T18:00:19.814Z","0.1.15":"2017-11-19T22:16:50.511Z","0.1.14":"2017-09-30T16:57:58.208Z","0.1.13":"2017-08-23T23:06:52.601Z","0.1.12":"2017-08-23T22:35:17.749Z","0.1.11":"2017-08-23T16:48:12.854Z","0.1.10":"2017-08-23T16:45:56.929Z","0.1.9":"2017-08-22T17:19:26.297Z","0.1.7":"2017-08-22T14:01:36.422Z","0.1.6":"2017-08-22T07:39:43.782Z","0.1.5":"2017-08-21T14:57:38.716Z","0.1.4":"2017-08-20T20:22:45.510Z","0.1.3":"2017-08-19T17:52:57.184Z","0.1.2":"2017-08-19T17:44:50.223Z","0.1.1":"2017-08-19T17:28:13.976Z","0.1.0":"2017-08-14T18:13:00.166Z"},"users":{},"author":{"name":"Heroqu"},"repository":{"type":"git","url":"git+https://github.com/heroqu/hash-through.git"},"versions":{"0.1.16":{"name":"hash-through","version":"0.1.16","description":"a PassThrough stream that taps to chunks flow and calculates the digest on the fly","main":"index.js","scripts":{"test":"mocha test/tests.js"},"repository":{"type":"git","url":"git+https://github.com/heroqu/hash-through.git"},"keywords":["hash","stream","passthrough","tap","digest"],"author":{"name":"Heroqu"},"license":"MIT","bugs":{"url":"https://github.com/heroqu/hash-through/issues"},"homepage":"https://github.com/heroqu/hash-through#readme","devDependencies":{"chai":"^4.1.2","metrohash":"^2.4.0","mocha":"^5.2.0","murmurhash-native":"^3.2.3","xxhash":"^0.2.4"},"dependencies":{"readable-stream":"^2.3.3"},"gitHead":"47a8d55b581cbc6f22f1b2be4f8f88ceeb5612b3","_id":"hash-through@0.1.16","_npmVersion":"6.1.0","_nodeVersion":"10.5.0","_npmUser":{"name":"heroqu","email":"hero.qub@gmail.com"},"dist":{"shasum":"694bee0d2098bec18828b4597d9ddce4094bc5a9","size":13863,"noattachment":false,"key":"/hash-through/-/hash-through-0.1.16.tgz","tarball":"http://registry.cnpm.dingdandao.com/hash-through/download/hash-through-0.1.16.tgz"},"maintainers":[{"name":"heroqu","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hash-through_0.1.16_1531245619694_0.4432966292804954"},"_cnpmcore_publish_time":"2021-12-23T01:05:16.936Z","publish_time":1531245619814,"_cnpm_publish_time":1531245619814},"0.1.15":{"name":"hash-through","version":"0.1.15","description":"a PassThrough stream that taps to chunks flow and calculates the digest on the fly","main":"index.js","scripts":{"test":"mocha test/tests.js"},"repository":{"type":"git","url":"git+https://github.com/heroqu/hash-through.git"},"keywords":["hash","stream","passthrough","tap","digest"],"author":{"name":"Heroqu"},"license":"ISC","bugs":{"url":"https://github.com/heroqu/hash-through/issues"},"homepage":"https://github.com/heroqu/hash-through#readme","devDependencies":{"chai":"^4.1.2","metrohash":"^2.3.0","mocha":"^4.0.1","murmurhash-native":"^3.2.2","xxhash":"^0.2.4"},"dependencies":{"readable-stream":"^2.3.3"},"gitHead":"27a97467d03652c78bd283e7b30af647fc878dde","_id":"hash-through@0.1.15","_npmVersion":"5.5.1","_nodeVersion":"9.2.0","_npmUser":{"name":"heroqu","email":"hero.qub@gmail.com"},"dist":{"shasum":"3dcbb5950a146beb113a230ca4f6bb492868e222","size":14278,"noattachment":false,"key":"/hash-through/-/hash-through-0.1.15.tgz","tarball":"http://registry.cnpm.dingdandao.com/hash-through/download/hash-through-0.1.15.tgz"},"maintainers":[{"name":"heroqu","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hash-through-0.1.15.tgz_1511129809493_0.0003289401065558195"},"directories":{},"_cnpmcore_publish_time":"2021-12-23T01:05:16.017Z","publish_time":1511129810511,"_cnpm_publish_time":1511129810511},"0.1.14":{"name":"hash-through","version":"0.1.14","description":"a PassThrough stream that taps to chunks flow and calculates the digest on the fly","main":"index.js","scripts":{"test":"mocha test/tests.js"},"repository":{"type":"git","url":"git+https://github.com/heroqu/hash-through.git"},"keywords":["hash","stream","passthrough","tap","digest"],"author":{"name":"Heroqu"},"license":"ISC","bugs":{"url":"https://github.com/heroqu/hash-through/issues"},"homepage":"https://github.com/heroqu/hash-through#readme","devDependencies":{"chai":"^4.1.1","metrohash":"^2.3.0","mocha":"^3.5.0","murmurhash-native":"^3.2.1","xxhash":"^0.2.4"},"dependencies":{},"gitHead":"8b1622ae8293f4861479d836179ebbfba7385353","_id":"hash-through@0.1.14","_npmVersion":"5.4.2","_nodeVersion":"8.6.0","_npmUser":{"name":"heroqu","email":"hero.qub@gmail.com"},"dist":{"shasum":"42db701a808ff03e77360e122b397b6311034fd0","size":11425,"noattachment":false,"key":"/hash-through/-/hash-through-0.1.14.tgz","tarball":"http://registry.cnpm.dingdandao.com/hash-through/download/hash-through-0.1.14.tgz"},"maintainers":[{"name":"heroqu","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hash-through-0.1.14.tgz_1506790677213_0.4957984169013798"},"directories":{},"_cnpmcore_publish_time":"2021-12-23T01:05:15.103Z","publish_time":1506790678208,"_cnpm_publish_time":1506790678208},"0.1.13":{"name":"hash-through","version":"0.1.13","description":"a PassThrough stream that taps to chunks flow and calculates the digest on the fly","main":"index.js","scripts":{"test":"mocha test/tests.js"},"repository":{"type":"git","url":"git+https://github.com/heroqu/hash-through.git"},"keywords":["hash","stream","passthrough","tap","digest"],"author":{"name":"Heroqu"},"license":"ISC","bugs":{"url":"https://github.com/heroqu/hash-through/issues"},"homepage":"https://github.com/heroqu/hash-through#readme","devDependencies":{"chai":"^4.1.1","metrohash":"^2.3.0","mocha":"^3.5.0","murmurhash-native":"^3.2.1","xxhash":"^0.2.4"},"dependencies":{},"gitHead":"b66f2425406365ad49cdc135e3f949f11d1a8f40","_id":"hash-through@0.1.13","_npmVersion":"5.3.0","_nodeVersion":"8.4.0","_npmUser":{"name":"heroqu","email":"hero.qub@gmail.com"},"dist":{"shasum":"c6734ce61df4a666a0ce7f22bbe1a0c0c81f7128","size":13517,"noattachment":false,"key":"/hash-through/-/hash-through-0.1.13.tgz","tarball":"http://registry.cnpm.dingdandao.com/hash-through/download/hash-through-0.1.13.tgz"},"maintainers":[{"name":"heroqu","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hash-through-0.1.13.tgz_1503529611257_0.10095043876208365"},"directories":{},"_cnpmcore_publish_time":"2021-12-23T01:05:14.174Z","publish_time":1503529612601,"_cnpm_publish_time":1503529612601},"0.1.12":{"name":"hash-through","version":"0.1.12","description":"a PassThrough stream that taps to chunks flow and calculates the digest on the fly","main":"index.js","scripts":{"test":"mocha test/tests.js"},"repository":{"type":"git","url":"git+https://github.com/heroqu/hash-through.git"},"keywords":["hash","stream","passthrough","tap","digest"],"author":{"name":"Heroqu"},"license":"ISC","bugs":{"url":"https://github.com/heroqu/hash-through/issues"},"homepage":"https://github.com/heroqu/hash-through#readme","devDependencies":{"chai":"^4.1.1","mocha":"^3.5.0","murmurhash-native":"^3.2.1","xxhash":"^0.2.4"},"dependencies":{},"gitHead":"a9ec7574c23ea4fd1c36a8f0a3d4851b50678ba1","_id":"hash-through@0.1.12","_npmVersion":"5.3.0","_nodeVersion":"8.4.0","_npmUser":{"name":"heroqu","email":"hero.qub@gmail.com"},"dist":{"shasum":"23279ccba6c31d6f91baa300630e1c1b721b9ab8","size":12861,"noattachment":false,"key":"/hash-through/-/hash-through-0.1.12.tgz","tarball":"http://registry.cnpm.dingdandao.com/hash-through/download/hash-through-0.1.12.tgz"},"maintainers":[{"name":"heroqu","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hash-through-0.1.12.tgz_1503527716762_0.29602574463933706"},"directories":{},"_cnpmcore_publish_time":"2021-12-23T01:05:13.267Z","publish_time":1503527717749,"_cnpm_publish_time":1503527717749},"0.1.11":{"name":"hash-through","version":"0.1.11","description":"a PassThrough stream that taps to chunks flow and calculates the digest on the fly","main":"index.js","scripts":{"test":"mocha test/tests.js"},"repository":{"type":"git","url":"git+https://github.com/heroqu/hash-through.git"},"keywords":["hash","stream","passthrough","tap","digest"],"author":{"name":"Heroqu"},"license":"ISC","bugs":{"url":"https://github.com/heroqu/hash-through/issues"},"homepage":"https://github.com/heroqu/hash-through#readme","devDependencies":{"chai":"^4.1.1","mocha":"^3.5.0","murmurhash-native":"^3.2.1"},"gitHead":"5de8f64e0a4e0439ded6ee69cd449489c5a9a8fd","_id":"hash-through@0.1.11","_npmVersion":"5.3.0","_nodeVersion":"8.4.0","_npmUser":{"name":"heroqu","email":"hero.qub@gmail.com"},"dist":{"shasum":"ffbbf5187766b01b0f60aac2cff47d7b58deb24d","size":12664,"noattachment":false,"key":"/hash-through/-/hash-through-0.1.11.tgz","tarball":"http://registry.cnpm.dingdandao.com/hash-through/download/hash-through-0.1.11.tgz"},"maintainers":[{"name":"heroqu","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hash-through-0.1.11.tgz_1503506891922_0.6265351020265371"},"directories":{},"_cnpmcore_publish_time":"2021-12-23T01:05:12.357Z","publish_time":1503506892854,"_cnpm_publish_time":1503506892854},"0.1.10":{"name":"hash-through","version":"0.1.10","description":"a PassThrough stream that taps to chunks flow and calculates the digest on the fly","main":"index.js","scripts":{"test":"mocha test/tests.js"},"repository":{"type":"git","url":"git+https://github.com/heroqu/hash-through.git"},"keywords":["hash","stream","passthrough","tap","digest"],"author":{"name":"Heroqu"},"license":"ISC","bugs":{"url":"https://github.com/heroqu/hash-through/issues"},"homepage":"https://github.com/heroqu/hash-through#readme","devDependencies":{"chai":"^4.1.1","mocha":"^3.5.0","murmurhash-native":"^3.2.1"},"gitHead":"917cdff4d1c793233c4caf8d2f376311879bd78c","_id":"hash-through@0.1.10","_npmVersion":"5.3.0","_nodeVersion":"8.4.0","_npmUser":{"name":"heroqu","email":"hero.qub@gmail.com"},"dist":{"shasum":"7dc01f9e43ee3c36f7b13a820fe24baed10c2941","size":12665,"noattachment":false,"key":"/hash-through/-/hash-through-0.1.10.tgz","tarball":"http://registry.cnpm.dingdandao.com/hash-through/download/hash-through-0.1.10.tgz"},"maintainers":[{"name":"heroqu","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hash-through-0.1.10.tgz_1503506755977_0.3294149716384709"},"directories":{},"_cnpmcore_publish_time":"2021-12-23T01:05:11.447Z","publish_time":1503506756929,"_cnpm_publish_time":1503506756929},"0.1.9":{"name":"hash-through","version":"0.1.9","description":"a PassThrough stream that taps to chunks flow and calculates the digest on the fly","main":"index.js","scripts":{"test":"mocha test/tests.js"},"repository":{"type":"git","url":"git+https://github.com/heroqu/hash-through.git"},"keywords":["hash","stream","passthrough","tap","digest"],"author":{"name":"Heroqu"},"license":"ISC","bugs":{"url":"https://github.com/heroqu/hash-through/issues"},"homepage":"https://github.com/heroqu/hash-through#readme","devDependencies":{"chai":"^4.1.1","mocha":"^3.5.0","murmurhash-native":"^3.2.1"},"gitHead":"ca096e16aed583fc6fe05eba700c024f425bded6","_id":"hash-through@0.1.9","_npmVersion":"5.3.0","_nodeVersion":"8.4.0","_npmUser":{"name":"heroqu","email":"hero.qub@gmail.com"},"dist":{"shasum":"8784791ae9a3458da50d383877f12c88bc0a559e","size":12380,"noattachment":false,"key":"/hash-through/-/hash-through-0.1.9.tgz","tarball":"http://registry.cnpm.dingdandao.com/hash-through/download/hash-through-0.1.9.tgz"},"maintainers":[{"name":"heroqu","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hash-through-0.1.9.tgz_1503422365377_0.8151614090893418"},"directories":{},"_cnpmcore_publish_time":"2021-12-23T01:05:10.527Z","publish_time":1503422366297,"_cnpm_publish_time":1503422366297},"0.1.7":{"name":"hash-through","version":"0.1.7","description":"a PassThrough stream that taps to chunks flow and calculates the digest on the fly","main":"index.js","scripts":{"test":"mocha tests/test.js"},"repository":{"type":"git","url":"git+https://github.com/heroqu/hash-through.git"},"keywords":["hash","stream","passthrough","tap","digest"],"author":{"name":"Heroqu"},"license":"ISC","bugs":{"url":"https://github.com/heroqu/hash-through/issues"},"homepage":"https://github.com/heroqu/hash-through#readme","devDependencies":{"chai":"^4.1.1","mocha":"^3.5.0","murmurhash-native":"^3.2.1"},"gitHead":"ce52530a6f96edc6adcfa32c01f421d05eaa993d","_id":"hash-through@0.1.7","_npmVersion":"5.3.0","_nodeVersion":"8.4.0","_npmUser":{"name":"heroqu","email":"hero.qub@gmail.com"},"dist":{"shasum":"67e533c33053011479dbbbd48bac0a49556eb8f8","size":12380,"noattachment":false,"key":"/hash-through/-/hash-through-0.1.7.tgz","tarball":"http://registry.cnpm.dingdandao.com/hash-through/download/hash-through-0.1.7.tgz"},"maintainers":[{"name":"heroqu","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hash-through-0.1.7.tgz_1503410495519_0.6226142691448331"},"directories":{},"_cnpmcore_publish_time":"2021-12-23T01:05:09.410Z","publish_time":1503410496422,"_cnpm_publish_time":1503410496422},"0.1.6":{"name":"hash-through","version":"0.1.6","description":"a PassThrough stream that taps to chunks flow and calculates the digest on the fly","main":"index.js","scripts":{"test":"mocha tests/test.js"},"repository":{"type":"git","url":"git+https://github.com/heroqu/hash-through.git"},"keywords":["hash","stream","passthrough","tap","digest"],"author":{"name":"Heroqu"},"license":"ISC","bugs":{"url":"https://github.com/heroqu/hash-through/issues"},"homepage":"https://github.com/heroqu/hash-through#readme","devDependencies":{"chai":"^4.1.1","mocha":"^3.5.0","murmurhash-native":"^3.2.1"},"gitHead":"2ec08c79bce6447fa4fedbc695cc3d6e91894228","_id":"hash-through@0.1.6","_npmVersion":"5.3.0","_nodeVersion":"8.4.0","_npmUser":{"name":"heroqu","email":"hero.qub@gmail.com"},"dist":{"shasum":"6c7f66dcc8afd955572f7acc412d4c421e1f16c3","size":12370,"noattachment":false,"key":"/hash-through/-/hash-through-0.1.6.tgz","tarball":"http://registry.cnpm.dingdandao.com/hash-through/download/hash-through-0.1.6.tgz"},"maintainers":[{"name":"heroqu","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hash-through-0.1.6.tgz_1503387582756_0.9891708658542484"},"directories":{},"_cnpmcore_publish_time":"2021-12-23T01:05:08.478Z","publish_time":1503387583782,"_cnpm_publish_time":1503387583782},"0.1.5":{"name":"hash-through","version":"0.1.5","description":"a PassThrough stream that taps to chunks flow and calculates the digest on the fly","main":"index.js","scripts":{"test":"mocha tests/test.js"},"repository":{"type":"git","url":"git+https://github.com/heroqu/hash-through.git"},"keywords":["hash","stream","passthrough","tap","digest"],"author":{"name":"Heroqu"},"license":"ISC","bugs":{"url":"https://github.com/heroqu/hash-through/issues"},"homepage":"https://github.com/heroqu/hash-through#readme","devDependencies":{"chai":"^4.1.1","mocha":"^3.5.0","murmurhash-native":"^3.2.1"},"gitHead":"cad9d5e8e3285df2e5b33dd3398540c3bfb4e687","_id":"hash-through@0.1.5","_npmVersion":"5.3.0","_nodeVersion":"8.4.0","_npmUser":{"name":"heroqu","email":"hero.qub@gmail.com"},"dist":{"shasum":"ebe967048307eb65c289d4e3ca01d515747bb7ba","size":12353,"noattachment":false,"key":"/hash-through/-/hash-through-0.1.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/hash-through/download/hash-through-0.1.5.tgz"},"maintainers":[{"name":"heroqu","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hash-through-0.1.5.tgz_1503327457739_0.6619664786849171"},"directories":{},"_cnpmcore_publish_time":"2021-12-23T01:05:07.349Z","publish_time":1503327458716,"_cnpm_publish_time":1503327458716},"0.1.4":{"name":"hash-through","version":"0.1.4","description":"a PassThrough stream that taps to chunks flow and calculates the digest on the fly","main":"index.js","scripts":{"test":"mocha tests/test.js"},"repository":{"type":"git","url":"git+https://github.com/heroqu/hash-through.git"},"keywords":["hash","stream","passthrough","tap","digest"],"author":{"name":"Heroqu"},"license":"ISC","bugs":{"url":"https://github.com/heroqu/hash-through/issues"},"homepage":"https://github.com/heroqu/hash-through#readme","devDependencies":{"chai":"^4.1.1","mocha":"^3.5.0","murmurhash-native":"^3.2.1"},"gitHead":"3f5c8350b24a1da767e7bd0a48357a8e43351ddb","_id":"hash-through@0.1.4","_npmVersion":"5.3.0","_nodeVersion":"8.3.0","_npmUser":{"name":"heroqu","email":"hero.qub@gmail.com"},"dist":{"shasum":"2c25cf648595f31cc50f119093a1f95c56d86c02","size":12350,"noattachment":false,"key":"/hash-through/-/hash-through-0.1.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/hash-through/download/hash-through-0.1.4.tgz"},"maintainers":[{"name":"heroqu","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hash-through-0.1.4.tgz_1503260564608_0.6003129603341222"},"directories":{},"_cnpmcore_publish_time":"2021-12-23T01:05:06.437Z","publish_time":1503260565510,"_cnpm_publish_time":1503260565510},"0.1.3":{"name":"hash-through","version":"0.1.3","description":"a PassThrough stream that taps to chunks flow and calculates the digest on the fly","main":"index.js","scripts":{"test":"mocha tests/test.js"},"repository":{"type":"git","url":"git+https://github.com/heroqu/hash-through.git"},"keywords":["hash","stream","passthrough","tap","digest"],"author":{"name":"Heroqu"},"license":"ISC","bugs":{"url":"https://github.com/heroqu/hash-through/issues"},"homepage":"https://github.com/heroqu/hash-through#readme","devDependencies":{"chai":"^4.1.1","mocha":"^3.5.0","murmurhash-native":"^3.2.1"},"gitHead":"ba528e7ce7b8e47ed13abd24235b4c74f992f124","_id":"hash-through@0.1.3","_npmVersion":"5.3.0","_nodeVersion":"8.3.0","_npmUser":{"name":"heroqu","email":"hero.qub@gmail.com"},"dist":{"shasum":"662172d3c639ef76d807059d60d83a5da952dd2e","size":12331,"noattachment":false,"key":"/hash-through/-/hash-through-0.1.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/hash-through/download/hash-through-0.1.3.tgz"},"maintainers":[{"name":"heroqu","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hash-through-0.1.3.tgz_1503165176306_0.38031965820118785"},"directories":{},"_cnpmcore_publish_time":"2021-12-23T01:05:05.309Z","publish_time":1503165177184,"_cnpm_publish_time":1503165177184},"0.1.2":{"name":"hash-through","version":"0.1.2","description":"a PassThrough stream that taps to chunks flow and calculates the digest on the fly","main":"index.js","scripts":{"test":"mocha tests/test.js"},"repository":{"type":"git","url":"git+https://github.com/heroqu/hash-through.git"},"keywords":["hash","stream","passthrough","tap","digest"],"author":{"name":"Heroqu"},"license":"ISC","bugs":{"url":"https://github.com/heroqu/hash-through/issues"},"homepage":"https://github.com/heroqu/hash-through#readme","devDependencies":{"chai":"^4.1.1","mocha":"^3.5.0","murmurhash-native":"^3.2.1"},"gitHead":"230e4cac84e0dd2a55c88f4f1b6701a98269c47d","_id":"hash-through@0.1.2","_npmVersion":"5.3.0","_nodeVersion":"8.3.0","_npmUser":{"name":"heroqu","email":"hero.qub@gmail.com"},"dist":{"shasum":"ef63575df29cb1e463ced849b5a27bb37d7a2957","size":12336,"noattachment":false,"key":"/hash-through/-/hash-through-0.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/hash-through/download/hash-through-0.1.2.tgz"},"maintainers":[{"name":"heroqu","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hash-through-0.1.2.tgz_1503164689313_0.0349147510714829"},"directories":{},"_cnpmcore_publish_time":"2021-12-23T01:05:04.391Z","publish_time":1503164690223,"_cnpm_publish_time":1503164690223},"0.1.1":{"name":"hash-through","version":"0.1.1","description":"a PassThrough stream that taps to chunks flow and calculates the digest on the fly","main":"index.js","scripts":{"test":"mocha tests/test.js"},"repository":{"type":"git","url":"git+https://github.com/heroqu/hash-through.git"},"keywords":["hash","stream","passthrough","tap","digest"],"author":{"name":"Heroqu"},"license":"ISC","bugs":{"url":"https://github.com/heroqu/hash-through/issues"},"homepage":"https://github.com/heroqu/hash-through#readme","devDependencies":{"chai":"^4.1.1","mocha":"^3.5.0","murmurhash-native":"^3.2.1"},"gitHead":"09860e2a3273d3a030daff79baa42eba85deb261","_id":"hash-through@0.1.1","_npmVersion":"5.3.0","_nodeVersion":"8.3.0","_npmUser":{"name":"heroqu","email":"hero.qub@gmail.com"},"dist":{"shasum":"25b244b5d99449e8c7c4bcc165e6291c5c1c21a3","size":12138,"noattachment":false,"key":"/hash-through/-/hash-through-0.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/hash-through/download/hash-through-0.1.1.tgz"},"maintainers":[{"name":"heroqu","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hash-through-0.1.1.tgz_1503163693041_0.3346067520324141"},"directories":{},"_cnpmcore_publish_time":"2021-12-23T01:05:03.487Z","publish_time":1503163693976,"_cnpm_publish_time":1503163693976},"0.1.0":{"name":"hash-through","version":"0.1.0","description":"a PassThrough stream that taps to chunks flow and calculates the digest on the fly","main":"index.js","directories":{"example":"examples"},"scripts":{},"repository":{"type":"git","url":"git+https://github.com/heroqu/hash-through.git"},"keywords":["hash","stream","passthrough","tap","digest"],"author":{"name":"Heroqu"},"license":"ISC","bugs":{"url":"https://github.com/heroqu/hash-through/issues"},"homepage":"https://github.com/heroqu/hash-through#readme","gitHead":"a98370e358b8fc460979efffb3eef5efefec0320","_id":"hash-through@0.1.0","_npmVersion":"5.3.0","_nodeVersion":"8.3.0","_npmUser":{"name":"heroqu","email":"hero.qub@gmail.com"},"dist":{"shasum":"8376467cb3410cdf90dd694aaa2cddb666ed8cd8","size":2325,"noattachment":false,"key":"/hash-through/-/hash-through-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/hash-through/download/hash-through-0.1.0.tgz"},"maintainers":[{"name":"heroqu","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hash-through-0.1.0.tgz_1502734379234_0.8809491896536201"},"_cnpmcore_publish_time":"2021-12-23T01:05:02.567Z","publish_time":1502734380166,"_cnpm_publish_time":1502734380166}},"readme":"# hash-through\n\nA PassThrough stream that taps to chunks flow and calculates the digest on the fly.\n\nThe hashing function has to be supplied. It should be in a form similar to ```createHash``` from node crypto module.\n\n## Setup\n\n```javascript\nnpm install hash-through\n```\n\n\n\n## Usage\n\nA short example using [createHash](https://nodejs.org/api/crypto.html#crypto_crypto_createhash_algorithm) from node's crypto module:\n\n```javascript\nconst HashThrough = require('hash-through')\nconst crypto = require('crypto')\n\nfunction createHash(){\n  // here we are wrapping a particular implementation\n  return crypto.createHash('sha256')\n}\n\nconst ht = HashThrough(createHash)\n\n// Now we can pipe through and get the digest ready\n// by the very time the streaming is over:\n\nconst fs = require('fs')\nconst src = fs.createReadStream(__filename)\n\nsrc.pipe(ht).pipe(process.stdout)\n\nht.on('finish', ()=>{\n  console.log(ht.digest('hex'))\n})\n```\n\nBasically, ```createHash``` should be a function with no args that returns a ```hash``` object, which in turn should have two methods: ```hash.update(chunk)``` and ```hash.digest(format)``` with the same meaning as in [crypto module](https://nodejs.org/api/crypto.html#crypto_class_hash)\n\n## More examples\n\nThe [test directory](https://github.com/heroqu/hash-through/tree/master/test) contains some more examples of how to plug in different hash algorithms, including both cryptographic functions from [node crypto module](https://nodejs.org/api/crypto.html#crypto_class_hash):\n\n- sha256\n- sha512\n- ripemd160\n\nas well as some non-cryptographic ones:\n\n- [MurmurHash3](https://www.npmjs.com/package/murmurhash-native)\n- [xxHash](https://github.com/mscdex/node-xxhash)\n- [MetroHash](https://www.npmjs.com/package/metrohash)\n\n## Dependencies\n\nFor *\"a stable streams base, regardless of what version of Node you are using\"* we use [readable-stream](https://www.npmjs.com/package/readable-stream) standalone stream module instead of Node core implementation (read elaboration on this [here](https://r.va.gg/2014/06/why-i-dont-use-nodes-core-stream-module.html)).\n\n## The idea\n\nThe point of this module is that original stream can really pass through the hashing instance 'untouched', so it really is a *PassThrough stream* from external point of view. One can insert one or more instances of it at any points of piping chains without violating the existing streaming logics. Kind of like tapping to the wire or playing man-in-the-middle.\n","_attachments":{},"homepage":"https://github.com/heroqu/hash-through#readme","bugs":{"url":"https://github.com/heroqu/hash-through/issues"},"license":"MIT"}