@sitelintcode/optimize-image-on-the-client-side 0.0.10 → 0.0.11
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 +10 -5
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -17,11 +17,12 @@ npm install @sitelintcode/optimize-image-on-the-client-side --save
|
|
|
17
17
|
### Browser environment
|
|
18
18
|
|
|
19
19
|
```Html
|
|
20
|
-
<script src="https://cdn.jsdelivr.net/npm/@sitelintcode/optimize-image-on-the-client-side@0.0.
|
|
20
|
+
<script src="https://cdn.jsdelivr.net/npm/@sitelintcode/optimize-image-on-the-client-side@0.0.10/dist/optimize-image-on-the-client-side.js"></script>
|
|
21
21
|
```
|
|
22
22
|
|
|
23
23
|
#### Notes
|
|
24
|
-
|
|
24
|
+
|
|
25
|
+
See **0.0.10** version. Don't forget to set desired version. You may check releases: https://github.com/sitelint/optimize-image-on-the-client-side/releases
|
|
25
26
|
|
|
26
27
|
jsdelivr.com comment:
|
|
27
28
|
|
|
@@ -42,10 +43,14 @@ jsdelivr.com comment:
|
|
|
42
43
|
|
|
43
44
|
## Browser environment
|
|
44
45
|
|
|
45
|
-
```
|
|
46
|
-
|
|
47
|
-
|
|
46
|
+
```HTML
|
|
47
|
+
<script src="https://cdn.jsdelivr.net/npm/@sitelintcode/optimize-image-on-the-client-side@0.0.10/dist/optimize-image-on-the-client-side.js"></script>
|
|
48
|
+
<script>
|
|
49
|
+
(function() {
|
|
50
|
+
const optimizeImage = new window.sitelint.OptimizeImage();
|
|
48
51
|
optimizeImage.install();
|
|
52
|
+
}())
|
|
53
|
+
</script>
|
|
49
54
|
```
|
|
50
55
|
|
|
51
56
|
## Technical
|
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.
|
|
5
|
+
"version": "0.0.11",
|
|
6
6
|
"license": "MOZILLA PUBLIC LICENSE, VERSION 2.0",
|
|
7
7
|
"node": ">=16",
|
|
8
8
|
"main": "dist/optimize-image-on-the-client-side.js",
|