Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

binary-stream-equals

mafintosh20.6kMIT1.0.0

Check if two binary streams have the same content

readme

binary-stream-equals

Check if two binary streams have the same content

npm install binary-stream-equals

(Only works with streamx and the latest versions of Node's readable-stream)

Usage

const streamEquals = require('binary-stream-equals')

// Note that streamEquals consumes and destroys the streams when done
const eq = await streamEquals(binaryStreamA, binaryStreamB)

License

MIT