You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
6 years ago | |
---|---|---|
.. | ||
index.js | 6 years ago | |
license | 6 years ago | |
package.json | 6 years ago | |
readme.md | 6 years ago |
readme.md
core-assert 
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.
Install
$ npm install --save core-assert
Usage
var assert = require('core-assert');
assert.strictEqual('unicorn', 'unicorn');
Related
- deep-strict-equal - Test for deep equality - Node.js
assert.deepStrictEqual()
algorithm as a standalone module
License
MIT © Sindre Sorhus