vite-image-react 0.2.0 → 0.2.1
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.
- package/README.md +3 -0
- package/package.json +44 -3
package/README.md
CHANGED
|
@@ -5,10 +5,13 @@
|
|
|
5
5
|
Surpasses `next/image` in perceptual quality at equal or smaller file sizes. Works with any Vite project, not locked to any framework.
|
|
6
6
|
|
|
7
7
|
[](https://www.npmjs.com/package/vite-image-react)
|
|
8
|
+
[](https://www.npmjs.com/package/vite-image-react)
|
|
9
|
+
[](https://bundlephobia.com/package/vite-image-react)
|
|
8
10
|
[](https://opensource.org/licenses/MIT)
|
|
9
11
|
[](https://nodejs.org)
|
|
10
12
|
[](https://vitejs.dev)
|
|
11
13
|
[](https://react.dev)
|
|
14
|
+
[](https://github.com/ezitounioussama/vite-image-react)
|
|
12
15
|
|
|
13
16
|
---
|
|
14
17
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,43 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vite-image-react",
|
|
3
|
-
"version": "0.2.
|
|
4
|
-
"description": "Content-aware, device-adaptive image optimizer for React + Vite
|
|
3
|
+
"version": "0.2.1",
|
|
4
|
+
"description": "Content-aware, device-adaptive image optimizer for React + Vite. Auto-converts to AVIF/WebP/JPEG with SSIM auto-tune, face detection, SVGO, and device-tier delivery.",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"image",
|
|
7
|
+
"optimizer",
|
|
8
|
+
"optimization",
|
|
9
|
+
"compression",
|
|
10
|
+
"vite",
|
|
11
|
+
"vite-plugin",
|
|
12
|
+
"react",
|
|
13
|
+
"react-component",
|
|
14
|
+
"image-optimization",
|
|
15
|
+
"image-compression",
|
|
16
|
+
"webp",
|
|
17
|
+
"avif",
|
|
18
|
+
"jpeg",
|
|
19
|
+
"png",
|
|
20
|
+
"svg",
|
|
21
|
+
"svgo",
|
|
22
|
+
"sharp",
|
|
23
|
+
"responsive-images",
|
|
24
|
+
"lazy-loading",
|
|
25
|
+
"blur-up",
|
|
26
|
+
"placeholder",
|
|
27
|
+
"ssim",
|
|
28
|
+
"content-aware",
|
|
29
|
+
"perceptual",
|
|
30
|
+
"saliency",
|
|
31
|
+
"face-detection",
|
|
32
|
+
"device-adaptive",
|
|
33
|
+
"performance",
|
|
34
|
+
"core-web-vitals",
|
|
35
|
+
"lcp",
|
|
36
|
+
"cls",
|
|
37
|
+
"image-loader",
|
|
38
|
+
"picture",
|
|
39
|
+
"srcset"
|
|
40
|
+
],
|
|
5
41
|
"type": "module",
|
|
6
42
|
"exports": {
|
|
7
43
|
".": {
|
|
@@ -29,10 +65,15 @@
|
|
|
29
65
|
"test:watch": "vitest",
|
|
30
66
|
"prepare": "echo 'ready'"
|
|
31
67
|
},
|
|
68
|
+
"sideEffects": false,
|
|
32
69
|
"license": "MIT",
|
|
70
|
+
"homepage": "https://github.com/ezitounioussama/vite-image-react#readme",
|
|
71
|
+
"bugs": {
|
|
72
|
+
"url": "https://github.com/ezitounioussama/vite-image-react/issues"
|
|
73
|
+
},
|
|
33
74
|
"repository": {
|
|
34
75
|
"type": "git",
|
|
35
|
-
"url": "https://github.com/ezitounioussama/vite-image-react.git"
|
|
76
|
+
"url": "git+https://github.com/ezitounioussama/vite-image-react.git"
|
|
36
77
|
},
|
|
37
78
|
"engines": {
|
|
38
79
|
"node": ">=22"
|