unique-hash-stream
DefinitelyTyped icon, indicating that this package has TypeScript declarations provided by the separate @types/unique-hash-stream package

1.0.0 • Public • Published

unique-hash-stream

NPM version Build status Test coverage Dependency Status License Downloads Gittip

Filter duplicates from a stream based on a hashing function. By default, this hashing function is:

sha256sum(JSON.stringify(doc))

API

var stream = unique([fn])

Where you can supply your own hashing function.

Package Sidebar

Install

npm i unique-hash-stream

Weekly Downloads

556

Version

1.0.0

License

MIT

Last publish

Collaborators

  • jongleberry