Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

diverged

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

diverged

Compare UI screenshots with document flow detection.

  • 0.1.3
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
36K
increased by5.14%
Maintainers
1
Weekly downloads
 
Created
Source

Diverged

Compare UI screenshots with document flow detection.

Install the demo

Option 1

npm install diverged

Option 2

Clone the root and cd in there and...

npm install

Usage

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

Run the jewels

from the diverged root directory

Node demo

npm run node_demo

...then check the ./results directory.

Browser demo

npm run serve

...then open http://127.0.0.1:3000/demo/

FAQs

Package last updated on 20 Jan 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc