Compare UI screenshots with document flow detection.
npm install diverged
```
npm install diverged
Option 2
Clone the root and cd in there and...
``
npm install
In node, usage looks like this. _See /demo/index.js_...`
'use strict';
const REF_PATH = '../fixtures/pricing/320_ref.png';
const TEST_PATH = '../fixtures/pricing/320_test.png';
const OUTPUT_PATH = ../results/${new Date().getTime()}.png
const diverged = require('../src/diverged-node')
const result = diverged(REF_PATH, TEST_PATH, OUTPUT_PATH);
`
In the browser take a look at /demo/index.html
root directory_$3
`
npm run node_demo
`
...then check the ./results directory.
$3
`
npm run serve
``