1.0.0-alpha.6 • Published 3 months ago

@guanghechen/equal v1.0.0-alpha.6

Weekly downloads
-
License
MIT
Repository
github
Last release
3 months ago

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