@syngrisi/node-resemble.js 2.5.0 → 2.5.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/README.md +16 -9
  2. package/package.json +10 -3
  3. package/CHANGELOG.md +0 -5
package/README.md CHANGED
@@ -1,18 +1,25 @@
1
- node-resemble.js
2
- ================
1
+ # @syngrisi/node-resemble.js
3
2
 
4
3
  <p align="center">
5
- <a href="https://nodejs.org/docs/latest-v12.x/api/index.html"><img src="https://img.shields.io/badge/node-12+-brightgreen.svg"></a>
6
- <a href="https://www.npmjs.com/package/nodejs-resemble"><img src="https://img.shields.io/npm/v/nodejs-resemble.svg"></a>
4
+ <a href="https://nodejs.org/docs/latest-v22.x/api/index.html"><img src="https://img.shields.io/badge/node-22+-brightgreen.svg"></a>
5
+ <a href="https://www.npmjs.com/package/@syngrisi/node-resemble.js"><img src="https://img.shields.io/npm/v/@syngrisi/node-resemble.js.svg"></a>
7
6
  </p>
8
- Supported fork of [node-resemble.js](https://github.com/burnpiro/node-resemble.js)
9
- Analyse and compare images with Javascript. This project does not need canvas or any other binary dependencies.
10
- It is a modification of [Resemble.js](https://github.com/Huddle/Resemble.js)
11
7
 
8
+ Image analysis and comparison library for Node.js. This is a supported fork of [node-resemble.js](https://github.com/burnpiro/node-resemble.js), which is a modification of [Resemble.js](https://github.com/Huddle/Resemble.js).
12
9
 
13
- ### Get it
10
+ This project does not need canvas or any other binary dependencies (uses [sharp](https://github.com/lovell/sharp) for image processing).
14
11
 
15
- `npm install nodejs-resemble`
12
+ ## Installation
13
+
14
+ ```bash
15
+ npm install @syngrisi/node-resemble.js
16
+ ```
17
+
18
+ or
19
+
20
+ ```bash
21
+ yarn add @syngrisi/node-resemble.js
22
+ ```
16
23
 
17
24
  ### Example
18
25
 
package/package.json CHANGED
@@ -1,8 +1,11 @@
1
1
  {
2
2
  "name": "@syngrisi/node-resemble.js",
3
- "version": "2.5.0",
3
+ "version": "2.5.2",
4
4
  "description": "Image analysis and comparison for nodejs",
5
5
  "main": "resemble.js",
6
+ "engines": {
7
+ "node": ">=22.19.0"
8
+ },
6
9
  "scripts": {
7
10
  "test": "jasmine resemble.spec.js",
8
11
  "test:auto": "chokidar 'resemble.js' 'resemble.spec.js' -c 'jasmine resemble.spec.js'",
@@ -29,7 +32,7 @@
29
32
  "bugs": {
30
33
  "url": "https://github.com/syngrisi/syngrisi/issues"
31
34
  },
32
- "homepage": "https://github.com/syngrisi/syngrisi/node-resemble.js/",
35
+ "homepage": "https://github.com/syngrisi/syngrisi/tree/main/packages/node-resemble.js",
33
36
  "dependencies": {
34
37
  "jpeg-js": "^0.4.4",
35
38
  "pngjs": "^7.0.0",
@@ -39,5 +42,9 @@
39
42
  "chokidar-cli": "^3.0.0",
40
43
  "jasmine": "^5.13.0"
41
44
  },
42
- "gitHead": "12bfda406cbe5aaccf3f17fdab02a9bd1a9d6343"
45
+ "files": [
46
+ "resemble.js",
47
+ "compareImages.js"
48
+ ],
49
+ "gitHead": "33a5ff751d7721f895f4f1a9a7e8cdf9b6b294bc"
43
50
  }
package/CHANGELOG.md DELETED
@@ -1,5 +0,0 @@
1
- # @syngrisi/node-resemble.js
2
-
3
- ## 2.5.0
4
-
5
- ## 2.4.1