0.0.3 • Published 10 months ago

@verbi/compare v0.0.3

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

@verbi/compare

Efficient deep comparison of two values.

Features:

  • plain objects are compared recursively, class instances are compared by identity
  • supports common native structures: Date, RegExp, Error, Array, Map, Set
  • respects Symbol.iterator and valueOf
  • does not compare the same object pairs twice
  • supports circular structures

Caveats:

  • does not support typed arrays yet

License

MIT

0.0.3

10 months ago

0.0.2

10 months ago

0.0.1

10 months ago