secure-compare
Constant-time comparison algorithm to prevent timing attacks for Node.js. Copied from cryptiles by C J Silverio.
Installation
$ npm install secure-compare --save
Usage
var compare = ; should;should; should;
Tests
$ npm test
License
secure-compare is released under the MIT license.