unique-hash-stream 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.