$ npm install core-assert
I don't have time or interest in keeping it in sync with Node.js anymore. It should continue to work fine though. It's just missing some improvements from later Node.js versions.
Useful to ensure consistency between Node.js versions as the assert
module has changed a lot.
Lets you use the Node.js 4.0 assert.deepStrictEqual()
/assert.notDeepStrictEqual()
methods all the way back to Node.js 0.10.
Issues and improvements should be done in Node.js first.
$ npm install --save core-assert
var assert = require('core-assert');
assert.strictEqual('unicorn', 'unicorn');
assert.deepStrictEqual()
algorithm as a standalone moduleMIT © Sindre Sorhus
© 2010 - cnpmjs.org x YWFE | Home | YWFE