compressorjs-next 1.0.1 → 1.0.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.
- package/README.md +1 -1
- package/dist/compressor.common.js +1 -1
- package/dist/compressor.esm.js +1 -1
- package/dist/compressor.js +1 -1
- package/dist/compressor.min.js +1 -1
- package/package.json +4 -2
package/README.md
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
Modernized, optimized, and maintained fork of [Fengyuan Chen’s Compressor.js](https://github.com/fengyuanchen/compressorjs).
|
|
6
6
|
|
|
7
|
-
A JavaScript image compressor. Uses the browser’s native [HTMLCanvasElement.toBlob()](https://developer.mozilla.org/en-US/docs/Web/API/HTMLCanvasElement/toBlob) method to do the compression work, which means it is **lossy compression**, **asynchronous**, and has **different compression effects in different browsers**. Generally use this to precompress an image on the client side before uploading it.
|
|
7
|
+
A JavaScript image compressor and converter. Uses the browser’s native [HTMLCanvasElement.toBlob()](https://developer.mozilla.org/en-US/docs/Web/API/HTMLCanvasElement/toBlob) method to do the compression work, which means it is **lossy compression**, **asynchronous**, and has **different compression effects in different browsers**. Generally use this to precompress an image on the client side before uploading it.
|
|
8
8
|
|
|
9
9
|
## Table of contents
|
|
10
10
|
|
package/dist/compressor.esm.js
CHANGED
package/dist/compressor.js
CHANGED
package/dist/compressor.min.js
CHANGED
package/package.json
CHANGED
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"url": "https://chenfengyuan.com/"
|
|
14
14
|
}
|
|
15
15
|
],
|
|
16
|
-
"description": "JavaScript image compressor
|
|
16
|
+
"description": "JavaScript image compressor and converter",
|
|
17
17
|
"devDependencies": {
|
|
18
18
|
"@babel/core": "^7.29.0",
|
|
19
19
|
"@babel/preset-env": "^7.29.0",
|
|
@@ -53,6 +53,8 @@
|
|
|
53
53
|
"client-side",
|
|
54
54
|
"compress",
|
|
55
55
|
"compressor",
|
|
56
|
+
"conversion",
|
|
57
|
+
"converter",
|
|
56
58
|
"image",
|
|
57
59
|
"image-compression",
|
|
58
60
|
"image-processing",
|
|
@@ -90,5 +92,5 @@
|
|
|
90
92
|
"sideEffects": false,
|
|
91
93
|
"type": "module",
|
|
92
94
|
"types": "types/index.d.ts",
|
|
93
|
-
"version": "1.0.
|
|
95
|
+
"version": "1.0.2"
|
|
94
96
|
}
|