This package is deprecated as it's too much effort to keep it in sync with the Node.js implementation.
deep-strict-equal
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]}});
deepStrictEqual({foo: {bar: [1, 2]}}, {foo: {bar: [1, 4]}});
deepStrictEqual({foo: {bar: 1}}, {foo: {bar: 1}});
deepStrictEqual({foo: {bar: 1}}, {foo: {bar: '1'}});
License
MIT © Sindre Sorhus