@sitelintcode/optimize-image-on-the-client-side 0.0.15 → 0.0.16

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 (2) hide show
  1. package/README.md +10 -5
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -8,6 +8,12 @@ Optimize image after selecting using `<input type="file">`. The optimization pro
8
8
 
9
9
  [Optimize image on the client side](https://www.sitelint.com/lab/optimize-image-on-the-client-side/)
10
10
 
11
+ ## Benefits
12
+
13
+ * Faster uploading and downloading data.
14
+ * Reducing memory consumption.
15
+ * Saves the space on the server.
16
+
11
17
  ## Getting started
12
18
 
13
19
  ### NPM
@@ -29,7 +35,7 @@ optimizeImage.install();
29
35
  ## Browser environment
30
36
 
31
37
  ```HTML
32
- <script src="https://cdn.jsdelivr.net/npm/@sitelintcode/optimize-image-on-the-client-side@0.0.13/dist/optimize-image-on-the-client-side.js"></script>
38
+ <script src="https://cdn.jsdelivr.net/npm/@sitelintcode/optimize-image-on-the-client-side@0.0.16/dist/optimize-image-on-the-client-side.js"></script>
33
39
  <script>
34
40
  (function() {
35
41
  const optimizeImage = new window.sitelint.OptimizeImage();
@@ -40,12 +46,11 @@ optimizeImage.install();
40
46
 
41
47
  ### Notes
42
48
 
43
- See **0.0.13** version. Don't forget to set desired version. You may check releases: https://github.com/sitelint/optimize-image-on-the-client-side/releases
49
+ See **0.0.16** version. Don't forget to set desired version. You may check releases: https://github.com/sitelint/optimize-image-on-the-client-side/releases
44
50
 
45
- jsdelivr.com comment:
51
+ Worth to mention that [jsdelivr](https://www.jsdelivr.com) suggests:
46
52
 
47
- > // omit the version completely to get the latest one
48
- // you should NOT use this in production
53
+ > Omit the version completely or use latest to load the latest one (not recommended for production usage).
49
54
 
50
55
  ## Technical
51
56
 
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@sitelintcode/optimize-image-on-the-client-side",
3
3
  "description": "Optimize image on the client side",
4
4
  "author": "Cezary Tomczyk <cezary.tomczyk@gmail.com> (https://www.sitelint.com/)",
5
- "version": "0.0.15",
5
+ "version": "0.0.16",
6
6
  "license": "MOZILLA PUBLIC LICENSE, VERSION 2.0",
7
7
  "node": ">=16",
8
8
  "main": "dist/optimize-image-on-the-client-side.js",