0.1.0 • Published 3 years ago

dify-bin v0.1.0

Weekly downloads
9
License
MIT
Repository
github
Last release
3 years ago

dify-bin

npm version npm downloads

dify is a fast pixel-by-pixel image comparison tool in Rust.

Install

npm install dify-bin

Usage

const dify = require('dify-bin');

dify(['--output', 'diff.png', 'left.jpg', 'right.jpg'], (err, out) => {
  if (err) {
    if (err.isDifferent) {
      console.log('Changes detected');
    } else {
      console.error(err.stderr);
    }
    process.exit(err.code);
    return;
  }
  console.log('No changes detected', out.stdout);
});

CLI

npx

npx dify-bin --help

Installation

npm install --global dify-bin
dify --help
0.1.0

3 years ago

0.0.10

3 years ago

0.0.9

3 years ago

0.0.8

3 years ago

0.0.7

3 years ago

0.0.6

3 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago