Never Print Magazines

    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

    Install

    npm i abstract-strict-deep-equal

    DownloadsWeekly Downloads

    1

    Version

    1.0.2

    License

    MIT

    Unpacked Size

    4.33 kB

    Total Files

    6

    Last publish

    Collaborators

    • claudivanfilho