perfect-gui 4.1.4 → 4.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 CHANGED
@@ -16,10 +16,24 @@ A nice, simple and (probably not) perfect GUI for JavaScript.
16
16
 
17
17
  ## Install
18
18
 
19
+ ### With NPM
20
+
19
21
  ```bash
20
22
  npm i perfect-gui
21
23
  ```
22
24
 
25
+ ### Import from a CDN
26
+
27
+ ```javascript
28
+ <script type="importmap">
29
+ {
30
+ "imports": {
31
+ "perfect-gui": "https://unpkg.com/perfect-gui@latest/dist/perfect-gui.mjs",
32
+ }
33
+ }
34
+ </script>
35
+ ```
36
+
23
37
  ## Hello world
24
38
 
25
39
  ```javascript