wowojs-cdn 1.2.2 → 1.2.3

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 +37 -0
  2. package/package.json +1 -1
package/README.md ADDED
@@ -0,0 +1,37 @@
1
+ # Wowojs CDN
2
+
3
+ Gunakan **Wowojs** langsung di browser tanpa install NPM. Cocok buat prototyping cepat atau buat lu yang pengen sat-set langsung ngoding di file HTML dan buat pemula
4
+
5
+ ---
6
+
7
+ ## Cara Pakai
8
+
9
+ Cukup tempelkan script ini di dalam tag `<head>` atau sebelum penutup `</body>`:
10
+
11
+ ```html
12
+ <script src="https://cdn.jsdelivr.net/npm/wowojs-cdn@1.2.3/dist/wowo.min.js"></script>
13
+ <!-- ATAU -->
14
+ <script src="https://unpkg.com/wowojs-cdn/dist/wowo.min.js"></script>
15
+ 1
16
+ ```
17
+
18
+ ## Contoh penggunaan cepat
19
+
20
+ ```html
21
+ <!DOCTYPE html>
22
+ <html lang="id">
23
+ <head>
24
+ <script src="https://cdn.jsdelivr.net/npm/wowojs-cdn@1.2.3/dist/wowo.min.js"></script>
25
+ </head>
26
+ <body>
27
+ <wowo-halo></wowo-halo>
28
+
29
+ <script>
30
+ $BuatWilayah({
31
+ namaWilayah: "halo",
32
+ isiWilayah: () => "<h1>Halo dari Wowojs CDN! ?</h1>",
33
+ });
34
+ </script>
35
+ </body>
36
+ </html>
37
+ ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wowojs-cdn",
3
- "version": "1.2.2",
3
+ "version": "1.2.3",
4
4
  "description": "Akses wowojs lewat CDN",
5
5
  "main": "wowo.js",
6
6
  "unpkg": "dist/wowo.min.js",