abstract-strict-deep-equal
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

Abstract Strict Deep Equal

An incredibly LIGHT helper function to calculate deep equality using abstract(==) or strict(===) method.

npm version Min Min Gziped

Instalation

$ yarn add abstract-strict-deep-equal

or

$ npm install --save abstract-strict-deep-equal

Usage

import deepEqual from "abstract-strict-deep-equal";

deepEqual({ a: "1" }, { a: 1 }); // It will returns true
deepEqual({ a: "1" }, { a: 1 }, true); // It will returns false

Demo

https://codesandbox.io/s/javascript-forked-xm92g?file=/index.js

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.2
    3
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.2
    3
  • 1.0.1
    0
  • 1.0.0
    0

Package Sidebar

Install

npm i abstract-strict-deep-equal

Weekly Downloads

3

Version

1.0.2

License

MIT

Unpacked Size

4.33 kB

Total Files

6

Last publish

Collaborators

  • claudivanfilho