Popularity
1.1
Stable
Activity
0.0
Stable
26
8
2

Code Quality Rank: L4
Programming language: JavaScript
License: MIT License
Tags: Testing     Node.Js     Polyfills     Test     Assert     Assertion     Ponyfill     Polyfill     Shim     Core     Builtin     Same     Eq     Equality     Equal     Strict     Deep    
Latest version: v1.0.0

core-assert alternatives and similar modules

Based on the "Node.Js" category.
Alternatively, view core-assert alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of core-assert or a related project?

Add another 'Node.Js' Module

README

Deprecated

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.

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


*Note that all licence references and agreements mentioned in the core-assert README section above are relevant to that project's source code only.