differently
differently
Compares JS Objects With Color Difference.
yarn add differently
Table Of Contents
API
The package is available by importing its default function:
differently(
objectA: *,
objectB: *,
): string
Compares the two given objects recursively. Returns the string containing the highlighted difference between the compared values. This is meant to work with deepEqual
, where the order of elements in the array matters.
s = s = s = s = s = s = s = s = s =
Output | CLI |
---|---|
|
Copyright
(c) Context Testing 2019