You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

differential-js

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

differential-js

An image comparison engine.

0.0.1
latest
Source
npmnpm
Version published
Weekly downloads
0
-100%
Maintainers
1
Weekly downloads
 
Created
Source

Differential

An image comparison engine. Side-by-side, layered and hover comparison methods. No dependencies. Pre-release.

Demos

Quick Start

Add the js and css files to your document

<link rel="stylesheet" type="text/css" href="path/to/differential.min.css">
<script type="text/javascript" src="path/to/differential.min.js"></script>

Initialise the plugin

var diff = new Differential({
	images: [
		{
			src: "image-a.jpg",
			label: "Label for image-a"
		},
		{
			src: "image-b.jpg",
			label: "Label for image-b"
		}
	],
	type: "side-by-side",
	zoom: true,
	pan: true
});

Changelog

v0.0.1 (Pre-release)

  • Initial commit

Copyright © 2017 Karl Saunders | BSD & MIT license

FAQs

Package last updated on 05 Jun 2017

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