/unique-hash-stream

Remove duplicates from a stream based on a hashing function

Primary LanguageJavaScriptMIT LicenseMIT

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.