@guanghechen/fast-deep-equal
v2.3.7
Published
The fastest deep equal with ES6 Map, Set and Typed arrays support.
Downloads
911
Maintainers
Readme
Inspired by https://github.com/epoberezkin/fast-deep-equal, re-publish cause it's not support ESM.
Usage
use within ESM.
import isEqual from '@guanghechen/fast-deep-equal' console.log(isEqual({foo: 'bar'}, {foo: 'bar'})); // true
use within CommonJS.
const isEqual = require('@guanghechen/fast-deep-equal') console.log(isEqual({foo: 'bar'}, {foo: 'bar'})); // true