@heiwa4126/hello5 0.0.5-beta.1 → 0.0.5

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 +26 -4
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -66,15 +66,37 @@ ESM.sh:
66
66
 
67
67
  Other CDNs:
68
68
 
69
- - jsDelivr [@heiwa4126/hello5 CDN by jsDelivr - A CDN for npm and GitHub](https://www.jsdelivr.com/package/npm/@heiwa4126/hello5)
70
- - unpkg [UNPKG](https://app.unpkg.com/@heiwa4126/hello5)
69
+ - jsDelivr - [@heiwa4126/hello5 CDN by jsDelivr - A CDN for npm and GitHub](https://www.jsdelivr.com/package/npm/@heiwa4126/hello5)
70
+ - unpkg - <https://app.unpkg.com/@heiwa4126/hello5>
71
+
72
+ #### Browser Classic Script Example (CDN)
73
+
74
+ ```html
75
+ <!DOCTYPE html>
76
+ <div id="app">loading...</div>
77
+
78
+ <script src="https://cdn.jsdelivr.net/npm/@heiwa4126/hello5/dist/hello.global.min.js"></script>
79
+ <script>
80
+ document.getElementById("app").innerText = Heiwa4126Hello5.hello();
81
+ </script>
82
+ ```
71
83
 
72
84
  ### As a CLI tool
73
85
 
74
86
  After installation, you can use the CLI command:
75
87
 
76
- ```bash
77
- heiwa4126-hello5
88
+ ```console
89
+ $ heiwa4126-hello5 -h
90
+
91
+ Usage: heiwa4126-hello5 [-h|--help] [-V|--version]
92
+
93
+ Options:
94
+ -h, --help Show this help message
95
+ -V, --version Show version
96
+
97
+ $ heiwa4126-hello5
98
+
99
+ Hello!
78
100
  ```
79
101
 
80
102
  ## Development
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@heiwa4126/hello5",
3
- "version": "0.0.5-beta.1",
3
+ "version": "0.0.5",
4
4
  "description": "TypeScript hello world library with dual ES modules/CommonJS support. Features GitHub Actions trusted publishing to npmjs with Sigstore attestation.",
5
5
  "type": "module",
6
6
  "main": "./dist/hello.cjs",