@guanghechen/equal
v1.0.0-alpha.6
Published
The fastest deep equal with ES6 Map, Set and Typed arrays support.
Downloads
3,281
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/equal' console.log(isEqual({foo: 'bar'}, {foo: 'bar'})); // true
use within CommonJS.
const isEqual = require('@guanghechen/equal') console.log(isEqual({foo: 'bar'}, {foo: 'bar'})); // true