@heiwa4126/hello5 0.0.5-rc.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.
- package/README.md +14 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -66,8 +66,20 @@ 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
|
|
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
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@heiwa4126/hello5",
|
|
3
|
-
"version": "0.0.5
|
|
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",
|