{"versions":{"0.1.3":{"name":"diverged","version":"0.1.3","description":"Compare UI screenshots with document flow detection.","main":"src/diverged.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1","serve":"node ./node_modules/super-simple-web-server/ ./","node_demo":"cd demo; node ./"},"author":{"name":"Garris Shipon"},"license":"ISC","dependencies":{"diff":"^3.5.0","pixelmatch":"^4.0.2","pngjs":"^3.3.3","super-simple-web-server":"^1.0.0"},"gitHead":"b379f76d7cee51f59aeaf87e61f75c740f5cfad2","_id":"diverged@0.1.3","_npmVersion":"6.4.1","_nodeVersion":"10.10.0","_npmUser":{"name":"anonymous","email":"garris@me.com"},"dist":{"shasum":"fbde8eba086e8ff01327d32d71ebaabb1084fca4","size":5129539,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/diverged/-/diverged-0.1.3.tgz","integrity":"sha512-W8BLyp4Eo+YW9uQ3F5c9BXDT9ITCARA2CFQVb+v57FWYfkr0XjwNOASZacDCq+syk1i/obZ4BZ3w1qtlRO6hQw=="},"maintainers":[{"name":"anonymous","email":"garris@me.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/diverged_0.1.3_1548005818971_0.13704827644038686"},"_hasShrinkwrap":false,"publish_time":1548005819266,"_cnpm_publish_time":1548005819266,"_cnpmcore_publish_time":"2021-12-16T23:17:06.218Z","contributors":[]},"0.1.2":{"name":"diverged","version":"0.1.2","description":"Compare UI screenshots with document flow detection.","main":"src/diverged.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1","serve":"node ./node_modules/super-simple-web-server/ ./","node_demo":"cd demo; node ./"},"author":{"name":"Garris Shipon"},"license":"ISC","dependencies":{"diff":"^3.5.0","pixelmatch":"^4.0.2","pngjs":"^3.3.3","super-simple-web-server":"^1.0.0"},"gitHead":"2625f1c4233d74d98681beb90c5b418b72a4eecb","_id":"diverged@0.1.2","_npmVersion":"6.4.1","_nodeVersion":"10.10.0","_npmUser":{"name":"anonymous","email":"garris@me.com"},"dist":{"shasum":"617a66cd88474880608c1e82bd87eec101d8a35e","size":2913624,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/diverged/-/diverged-0.1.2.tgz","integrity":"sha512-geHB/gyYXINy1H684Oufq8n7ig5Hsm4lHH6tVDLjVfjQhKReWdAnQYXStxKHWQC13E7OI+IOZqbX8jiEG7qbfA=="},"maintainers":[{"name":"anonymous","email":"garris@me.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/diverged_0.1.2_1538803657325_0.9377627258735748"},"_hasShrinkwrap":false,"publish_time":1538803657588,"_cnpm_publish_time":1538803657588,"_cnpmcore_publish_time":"2021-12-16T23:17:13.983Z","contributors":[]},"0.1.1":{"name":"diverged","version":"0.1.1","description":"Compare UI screenshots with document flow detection.","main":"src/diverged.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1","serve":"node ./node_modules/super-simple-web-server/ ./","node_demo":"cd demo; node ./"},"author":{"name":"Garris Shipon"},"license":"ISC","dependencies":{"diff":"^3.5.0","pixelmatch":"^4.0.2","pngjs":"^3.3.3","super-simple-web-server":"^1.0.0"},"gitHead":"8164dc78b5c334bb6849f485883b03cba5aee18b","_id":"diverged@0.1.1","_npmVersion":"6.4.1","_nodeVersion":"10.10.0","_npmUser":{"name":"anonymous","email":"garris@me.com"},"dist":{"shasum":"68973851c48372b220b8a9b25acdc73667d872d7","size":2458463,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/diverged/-/diverged-0.1.1.tgz","integrity":"sha512-xILHG79kqWxBhAwheDNSA+JOqbsvt6EuvkrwtbIZwgL1MfoxVInEP6nFmC/htYH62bEsz3ydBrFiFgkMSEny7w=="},"maintainers":[{"name":"anonymous","email":"garris@me.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/diverged_0.1.1_1536850825610_0.8900773867888623"},"_hasShrinkwrap":false,"publish_time":1536850825849,"_cnpm_publish_time":1536850825849,"_cnpmcore_publish_time":"2021-12-16T23:17:20.442Z","contributors":[]},"0.1.0":{"name":"diverged","version":"0.1.0","description":"Compare UI screenshots with document flow detection.","main":"src/diverged.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1","serve":"node ./node_modules/super-simple-web-server/ ./","node_demo":"cd demo; node ./"},"author":{"name":"Garris Shipon"},"license":"ISC","dependencies":{"diff":"^3.5.0","pixelmatch":"^4.0.2","super-simple-web-server":"^1.0.0"},"gitHead":"9210292b7878b7b6c3aca084fe18479f02c2ff7e","_id":"diverged@0.1.0","_npmVersion":"6.1.0","_nodeVersion":"8.11.1","_npmUser":{"name":"anonymous","email":"garris@me.com"},"dist":{"shasum":"ab1bccb6e30d1dc08a288e38644baee8303c219a","size":864851,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/diverged/-/diverged-0.1.0.tgz","integrity":"sha512-PAEmxKJFTYLJ680qQp76Ibmq9RiT7B+tS+IwtdMKxlnJ6Y7/OgS85v26gBl9tvc6OPIBJsJcC/fFUhD2z5Cn2w=="},"maintainers":[{"name":"anonymous","email":"garris@me.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/diverged_0.1.0_1535147136642_0.4417476979027455"},"_hasShrinkwrap":false,"publish_time":1535147137457,"_cnpm_publish_time":1535147137457,"_cnpmcore_publish_time":"2021-12-16T23:17:22.719Z","contributors":[]}},"dist-tags":{"latest":"0.1.3"},"name":"diverged","time":{"created":"2022-01-26T21:12:04.529Z","modified":"2022-01-26T21:12:04.529Z","0.1.3":"2019-01-20T17:36:59.266Z","0.1.2":"2018-10-06T05:27:37.588Z","0.1.1":"2018-09-13T15:00:25.849Z","0.1.0":"2018-08-24T21:45:37.457Z"},"readme":"# Diverged\n_Compare UI screenshots with document flow detection._\n\n![](./demo/example_result.png)\n\n\n## Install the demo\n**Option 1**\n\n```\nnpm install diverged\n```\n\n**Option 2**\n\nClone the root and `cd` in there and...\n\n```\nnpm install\n```\n\n## Usage\n\n**In node**, usage looks like this. _See `/demo/index.js`_...\n```\n'use strict';\n\nconst REF_PATH = '../fixtures/pricing/320_ref.png';\nconst TEST_PATH = '../fixtures/pricing/320_test.png';\nconst OUTPUT_PATH = `../results/${new Date().getTime()}.png`\n\nconst diverged = require('../src/diverged-node')\nconst result = diverged(REF_PATH, TEST_PATH, OUTPUT_PATH);\n\n```\n\n***In the browser*** take a look at `/demo/index.html`\n\n\n## Run the jewels\n_from the `diverged` root directory_\n\n### Node demo\n\n```\nnpm run node_demo\n```\n...then check the `./results` directory.\n\n\n### Browser demo\n\n```\nnpm run serve\n```\n...then open [http://127.0.0.1:3000/demo/](http://127.0.0.1:3000/demo/)","users":{}}