Popularity
1.1
Stable
Activity
1.7
-
20
9
2

Monthly Downloads: 0
Programming language: JavaScript
License: MIT License
Tags: Node.Js     Polyfills     Algorithm     Ponyfill     Polyfill     Shim     Core     Builtin     Same     Eq     Equality     Equal     Strict     Deep    
Latest version: v0.2.0

deep-strict-equal alternatives and similar modules

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

Do you think we are missing an alternative of deep-strict-equal or a related project?

Add another 'Node.Js' Module

README

deep-strict-equal Build Status

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

Issues and improvements should be done in Node.js first.

Install

$ npm install --save deep-strict-equal

Usage

const deepStrictEqual = require('deep-strict-equal');

deepStrictEqual({foo: {bar: [1, 2]}}, {foo: {bar: [1, 2]}});
//=> true

deepStrictEqual({foo: {bar: [1, 2]}}, {foo: {bar: [1, 4]}});
//=> false

deepStrictEqual({foo: {bar: 1}}, {foo: {bar: 1}});
//=> true

deepStrictEqual({foo: {bar: 1}}, {foo: {bar: '1'}});
//=> false

License

MIT © Sindre Sorhus


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