0.3.1 • Published 7 months ago

@gilbarbara/deep-equal v0.3.1

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

@gilbarbara/deep-equal

npm version CI Quality Gate Status

Lightweight deep equal comparator.

Features

  • Written in TypeScript
  • ESM ready
  • Works with Map, Set, and Typed Arrays
  • Works with React component (avoid circular references)

Usage

npm i @gilbarbara/deep-equal
import equal from '@gilbarbara/deep-equal';

equal({ a: 1 }, { a: 1 }); // true

Credits

Inspired by fast-deep-equal package. Thanks! ❤️

License

MIT