Skip to content

mafintosh/binary-stream-equals

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Check if two binary streams have the same content

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published