
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
deep-equal-check
Advanced tools
Ultra-fast deep equality checker with comprehensive TypeScript support
Fast deep equality checker for modern JavaScript and TypeScript – robust, configurable, and safe for all data types.
npm install deep-equal-check
import deepEqualCheck from 'deep-equal-check';
// Basic usage
deepEqualCheck({a: 1}, {a: 1}); // true
deepEqualCheck([1, 2, 3], [1, 2, 3]); // true
// Complex objects
const obj1 = {
date: new Date('2023-01-01'),
regex: /test/gi,
set: new Set([1, 2, 3]),
map: new Map([['key', 'value']])
};
const obj2 = {
date: new Date('2023-01-01'),
regex: /test/gi,
set: new Set([1, 2, 3]),
map: new Map([['key', 'value']])
};
deepEqualCheck(obj1, obj2); // true
const deepEqualCheck = require('deep-equal-check');
// Basic usage
deepEqualCheck({a: 1}, {a: 1}); // true
deepEqualCheck([1, 2, 3], [1, 2, 3]); // true
// With options
deepEqualCheck(NaN, NaN, { nanEqual: true }); // true
deepEqualCheck(+0, -0, { strictZero: true }); // false
Run the built-in benchmark:
npm run benchmark
The library uses a hybrid optimization strategy that combines:
npx ts-node --project benchmark/tsconfig.json benchmark/compare-libraries.ts
MIT
FAQs
Ultra-fast deep equality checker with comprehensive TypeScript support
The npm package deep-equal-check receives a total of 29 weekly downloads. As such, deep-equal-check popularity was classified as not popular.
We found that deep-equal-check demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.