Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@jswork/next-deep-equal

afeiship34MIT1.0.4TypeScript support: included

Equal object for next.

next, deep, eq, object

readme

next-deep-equal

Equal object for next.

version license size download

installation

yarn add @jswork/next-deep-equal

usage

import '@jswork/next-deep-equal';

const obj1 = {
    a: 1,
    s1: 'string',
    items: [1, 2]
};

const obj2 = {
    a: 1,
    items: [1, 2],
    s1: 'string'
};

nx.deepEqual(obj1, obj2);

license

Code released under the MIT license.