@gilbarbara/deep-equal
Tiny deep equal comparator
Last updated 4 years ago by gilbarbara .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @gilbarbara/deep-equal 
SYNC missed versions from official npm registry.

@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

Current Tags

  • 0.3.1                                ...           latest (2 years ago)

6 Versions

  • 0.3.1                                ...           2 years ago
  • 0.3.0                                ...           3 years ago
  • 0.2.0                                ...           3 years ago
  • 0.1.2                                ...           3 years ago
  • 0.1.1                                ...           4 years ago
  • 0.1.0                                ...           4 years ago
Maintainers (1)
Downloads
Today 0
This Week 1
This Month 2
Last Day 1
Last Week 1
Last Month 0
Dependencies (0)
None
Dev Dependencies (24)

Copyright 2013 - present © cnpmjs.org | Home |