npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

image-comparison-backend

v1.3.2

Published

Backend of an image comparison solution. It reads the results of image comparisons performed by the image comparison frontend and allows to manage them.

Downloads

7

Readme

Image comparison backend

The image comparison backend works together with the image comparison frontend to provide the creation and management of automated image comparisons in an continous integration environment.

The image comparison frontend is used in end to end tests run in the CI environment to take images during the test and compare these images to base images that are known to be correct. The frontend stores these images together with test result information and difference images, if applicable. If a test fails, the CI process should report this.

Using the image comparison backend, the test results can be evaluated. If the comparison failed because of a bug, a developer can fix this and the CI should report now that the comparison no longer fails. If the comparison failed but the new image is correct, perhaps because of a new feature, the image comparison backend offers an option to accept the new image. The test result will be updated and the new image will be used from now on as new base image.

Requirements:

  • Node v10 (if you want to develop or run without docker)
  • Docker (if using the docker image (recommended))

Getting Started

Using Docker (recommended):

sudo docker run -p <port>:3000 -v <datadir>:/home/node/app/public/data -d jochendiekenbrock/image-comparison-backend

(replace <port> with a port on your system, for example 80 and <datadir> with the directory on your system, where the test data resides, for example /public/data)

Run manually or for development:

yarn install
yarn start-dev

If no test result data is found in /public/data (or the data directory you specified in src/config.ts), example data from /public/example-data is used.

License

GPL-3.0-or-later