yet-another-github-card 1.0.7 → 1.0.8

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 +8 -3
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -75,7 +75,12 @@ You'll find all the required directories and files within the download, logicall
75
75
 
76
76
  ### Including the card in your portfolio site
77
77
 
78
- Get your HTML embed code at [yagc](https://yagc.nocc.dev/index.html#embedcode), fill in the form with your GitHub username and grab the result code.
78
+ Include the YAGC in your HTML, copy and paste the following code replacing data-user with your GitHub username:
79
+
80
+ ```html
81
+ <github-card data-style="defaultTheme" data-user="carlesloriente" data-user-stars="true" data-user-stats='[{"name": "commits"}, {"name": "contributions">
82
+ <script type="module" src="https://unpkg.com/yet-another-github-card@1.0.7/yagc.min.js"></script>
83
+ ```
79
84
 
80
85
  ## Documentation
81
86
 
@@ -103,7 +108,7 @@ Select your favourite package manager and follow the instructions below.
103
108
 
104
109
  The package folder structure looks like this:
105
110
 
106
- ```filesystem
111
+ ```filesystem (node_modules)
107
112
  yet-another-github-card/
108
113
  ├─ css/
109
114
  ├─ images/
@@ -193,4 +198,4 @@ Thanks to you.
193
198
 
194
199
  ## Copyright and License
195
200
 
196
- Copyright (c) 2025 Carles Loriente. Code released under the [MIT](https://github.com/carlesloriente/yet-another-github-card/blob/master/LICENSE) license.
201
+ Copyright (c) 2026 Carles Loriente. Code released under the [MIT](https://github.com/carlesloriente/yet-another-github-card/blob/master/LICENSE) license.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "yet-another-github-card",
3
- "version": "1.0.7",
3
+ "version": "1.0.8",
4
4
  "description": "Yet another github card profile for use it on your social-networks, blogs or portfolio.",
5
5
  "main": "dist/yagc.js",
6
6
  "type": "module",