Security News
Research
Supply Chain Attack on Rspack npm Packages Injects Cryptojacking Malware
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
image-checker
Advanced tools
Check the quality of an image for defects including blur, under-exposure, over-exposure and low contrast.
Check the quality of an image for defects including blur, under-exposure, over-exposure and low contrast.
Can be used via node.js as a command line tool or as a library.
image-checker is in ongoing development (Linux, Mac, Windows) following semantic versioning.
Node.js seems to lack a library that indicates the quality of an image.
Hopefully using this library/cli, you can save some time spent on manually inspecting photos!
faces:
printing:
Install:
You can run image-checker
in one of three ways:
npm i -g image-checker@latest --production
To use:
image-checker <path to image>
Install inside your npm project:
yarn add image-checker
via bash script:
node_modules/image-checker/dist/lib/cli.js <path to image>
OR via node:
node node_modules/image-checker/dist/lib/main <path to image>
yarn
On Windows: use a bash shell like git bash
.
To test your installation:
./test.sh
To check your images:
./go.sh <path to image>
example:
./go.sh ../myPhotos/photo-1.jpg
To see more detailed usage info:
./go.sh
Install inside your npm project:
yarn add image-checker
Then in TypeScript, you can import the library:
import * as ic from "image-checker";
// TODO xxx
For a working example, see the library test harness.
site | URL |
---|---|
source code (github) | https://github.com/mrseanryan/image-checker |
github page | https://mrseanryan.github.io/image-checker/ |
npm | https://www.npmjs.com/package/image-checker |
see the contributing readme.
This project is based on the excellent seeder project typescript-library-starter.
Original work by Sean Ryan - mr.sean.ryan(at gmail.com)
This project is licensed under the MIT License - see the LICENSE file for details
FAQs
Check the quality of an image for defects including blur, under-exposure, over-exposure and low contrast.
The npm package image-checker receives a total of 1 weekly downloads. As such, image-checker popularity was classified as not popular.
We found that image-checker demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.
Security News
Sonar’s acquisition of Tidelift highlights a growing industry shift toward sustainable open source funding, addressing maintainer burnout and critical software dependencies.