@sitelintcode/optimize-image-on-the-client-side 0.0.2 → 0.0.4

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 +9 -1
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -8,12 +8,20 @@ Optimize image after selecting using `<input type="file">`.
8
8
 
9
9
  ## Getting started
10
10
 
11
- 1. First download the package:
11
+ ### NPM
12
12
 
13
13
  ```bash
14
14
  npm install @sitelintcode/optimize-image-on-the-client-side --save
15
15
  ```
16
16
 
17
+ ### Browser environment
18
+
19
+ ```Html
20
+ <script src="https://cdn.jsdelivr.net/npm/@sitelintcode/optimize-image-on-the-client-side@0.0.3/dist/optimize-image-on-the-client-side.js"></script>
21
+ ```
22
+
23
+ Note: see **0.0.3** version. Don't forget to set desired version.
24
+
17
25
  2. Usage:
18
26
 
19
27
  ## TypeScript
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.2",
5
+ "version": "0.0.4",
6
6
  "license": "MOZILLA PUBLIC LICENSE, VERSION 2.0",
7
7
  "node": ">=16",
8
8
  "main": "dist/optimize-image-on-the-client-side.js",