@guanghechen/equal
TypeScript icon, indicating that this package has built-in type declarations

1.0.0-alpha.6 • Public • Published

@guanghechen/equal


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

Readme

Keywords

Package Sidebar

Install

npm i @guanghechen/equal

Weekly Downloads

22

Version

1.0.0-alpha.6

License

MIT

Unpacked Size

10.9 kB

Total Files

7

Last publish

Collaborators

  • lemonclown