buffer-equals alternatives and similar modules
Based on the "Node.Js" category.
Alternatively, view buffer-equals alternatives based on common mentions on social networks and blogs.
-
Ts.ED
:triangular_ruler: Ts.ED is a Node.js and TypeScript framework on top of Express to write your application with TypeScript (or ES6). It provides a lot of decorators and guideline to make your code more readable and less error-prone. ⭐️ Star to support our work! -
deep-strict-equal
DISCONTINUED. Test for deep equality - Node.js `assert.deepStrictEqual()` algorithm as a standalone module -
node-amp-live-list
Liveblog in AMP that shows Youtube videos. Implemented with the amp-live-list component and a Node.js/Express/EJS backend.
SaaSHub - Software Alternatives and Reviews
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of buffer-equals or a related project?
README
buffer-equals
Node.js
buffer.equals()
ponyfill
Deprecated: Just use Buffer#equals()
. It has been available since Node.js 0.12.
Install
$ npm install --save buffer-equals
Usage
const bufferEquals = require('buffer-equals');
bufferEquals(new Buffer('foo'), new Buffer('foo'));
//=> true
bufferEquals(new Buffer('foo'), new Buffer('bar'));
//=> false
API
See the buffer.equals()
docs.
The only difference is that you pass in the buffer as the first argument instead of calling the .equals()
method on the buffer instance.
Related
- buffer-equals-constant - Check if two buffers have the same bytes in constant time
- buf-compare - Node.js 0.12
Buffer.compare()
ponyfill - buf-indexof - Node.js 4.0
buffer.indexOf()
ponyfill
License
MIT © Sindre Sorhus
*Note that all licence references and agreements mentioned in the buffer-equals README section above
are relevant to that project's source code only.