unboundedpress/node_modules/buf-compare
Michael Winter 555e2c196e initial commit
..
index.js initial commit
license initial commit
package.json initial commit
readme.md initial commit

readme.md

buf-compare Build Status

Node.js Buffer.compare() ponyfill

Install

$ npm install --save buf-compare

Usage

var bufCompare = require('buf-compare');

bufCompare(new Buffer('a'), new Buffer('a'));
//=> 0

bufCompare(new Buffer('a'), new Buffer('b'));
//=> -1

API

See the Buffer.compare() docs.

License

MIT © Sindre Sorhus