Skip to content
This repository has been archived by the owner. It is now read-only.
Node.js `assert` as a standalone module
Branch: master
Clone or download
Latest commit fa0ab24 Nov 8, 2018
Type Name Latest commit message Commit time
Failed to load latest commit information.
test make travis happy Apr 20, 2016
.editorconfig fix .editorconfig Sep 28, 2015
.gitattributes init Sep 28, 2015
index.js sync with latest Node.js master Apr 20, 2016
package.json 1.0.0 Nov 8, 2018 Deprecate Nov 8, 2018


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.

core-assert Build Status

Node.js assert as a standalone module (ponyfill)

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');


  • deep-strict-equal - Test for deep equality - Node.js assert.deepStrictEqual() algorithm as a standalone module


MIT © Sindre Sorhus

You can’t perform that action at this time.