{"_id":"unique-hash-stream","_rev":"4-0e534f120d1d03e49d2daa27b533ea53","name":"unique-hash-stream","description":"Remove duplicates from a stream based on a hashing function","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"unique-hash-stream","description":"Remove duplicates from a stream based on a hashing function","version":"1.0.0","author":{"name":"Jonathan Ong","email":"me@jongleberry.com","url":"http://jongleberry.com"},"license":"MIT","repository":{"type":"git","url":"https://github.com/stream-utils/unique-hash-stream"},"dependencies":{"json-stringify-safe":"5","readable-stream":"1"},"devDependencies":{"istanbul":"0","mocha":"2","stream-to-array":"2"},"scripts":{"test":"mocha --reporter spec","test-cov":"istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot","test-travis":"istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter dot"},"keywords":["dedupe","unique","stream","hash"],"files":["index.js"],"gitHead":"216abb9fd79a593da79db05a2f788fbd75469d18","bugs":{"url":"https://github.com/stream-utils/unique-hash-stream/issues"},"homepage":"https://github.com/stream-utils/unique-hash-stream","_id":"unique-hash-stream@1.0.0","_shasum":"ebed94724c1625aded301650da0aa8272e957ac1","_from":".","_npmVersion":"2.1.12","_nodeVersion":"0.11.14","_npmUser":{"name":"jongleberry","email":"jonathanrichardong@gmail.com"},"maintainers":[{"name":"jongleberry","email":"jonathanrichardong@gmail.com"}],"dist":{"shasum":"ebed94724c1625aded301650da0aa8272e957ac1","tarball":"https://registry.npmjs.org/unique-hash-stream/-/unique-hash-stream-1.0.0.tgz","integrity":"sha512-OM0GISbn0IHMHjW6Vhsu+5zj3Cz+XMSkSv4DQD9e/ZxRep6vpe+E+Y46FR8oiWOlBnlSzpYvtPbzeU66rV5eUw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICXUcN1D6EzeR7NM7UOHb9eZpaCmhuvS5BMxOuScKQlQAiEAmcSpDDjJI47SGW5xEfNiAWU6XYAW5pFgMvfXaS3aeVw="}]}}},"readme":"\n# unique-hash-stream\n\n[![NPM version][npm-image]][npm-url]\n[![Build status][travis-image]][travis-url]\n[![Test coverage][coveralls-image]][coveralls-url]\n[![Dependency Status][david-image]][david-url]\n[![License][license-image]][license-url]\n[![Downloads][downloads-image]][downloads-url]\n[![Gittip][gittip-image]][gittip-url]\n\nFilter duplicates from a stream based on a hashing function.\nBy default, this hashing function is:\n\n```js\nsha256sum(JSON.stringify(doc))\n```\n\n## API\n\n### var stream = unique([fn])\n\nWhere you can supply your own hashing function.\n\n[gitter-image]: https://badges.gitter.im/stream-utils/unique-hash-stream.png\n[gitter-url]: https://gitter.im/stream-utils/unique-hash-stream\n[npm-image]: https://img.shields.io/npm/v/unique-hash-stream.svg?style=flat-square\n[npm-url]: https://npmjs.org/package/unique-hash-stream\n[github-tag]: http://img.shields.io/github/tag/stream-utils/unique-hash-stream.svg?style=flat-square\n[github-url]: https://github.com/stream-utils/unique-hash-stream/tags\n[travis-image]: https://img.shields.io/travis/stream-utils/unique-hash-stream.svg?style=flat-square\n[travis-url]: https://travis-ci.org/stream-utils/unique-hash-stream\n[coveralls-image]: https://img.shields.io/coveralls/stream-utils/unique-hash-stream.svg?style=flat-square\n[coveralls-url]: https://coveralls.io/r/stream-utils/unique-hash-stream\n[david-image]: http://img.shields.io/david/stream-utils/unique-hash-stream.svg?style=flat-square\n[david-url]: https://david-dm.org/stream-utils/unique-hash-stream\n[license-image]: http://img.shields.io/npm/l/unique-hash-stream.svg?style=flat-square\n[license-url]: LICENSE\n[downloads-image]: http://img.shields.io/npm/dm/unique-hash-stream.svg?style=flat-square\n[downloads-url]: https://npmjs.org/package/unique-hash-stream\n[gittip-image]: https://img.shields.io/gratipay/jonathanong.svg?style=flat-square\n[gittip-url]: https://gratipay.com/jonathanong/\n","maintainers":[{"name":"jongleberry","email":"jonathanrichardong@gmail.com"}],"time":{"modified":"2022-06-28T04:41:05.208Z","created":"2014-12-26T07:40:18.553Z","1.0.0":"2014-12-26T07:40:18.553Z"},"homepage":"https://github.com/stream-utils/unique-hash-stream","keywords":["dedupe","unique","stream","hash"],"repository":{"type":"git","url":"https://github.com/stream-utils/unique-hash-stream"},"author":{"name":"Jonathan Ong","email":"me@jongleberry.com","url":"http://jongleberry.com"},"bugs":{"url":"https://github.com/stream-utils/unique-hash-stream/issues"},"license":"MIT","readmeFilename":"README.md"}