update README

This commit is contained in:
Sam Denty 2023-01-03 18:08:00 +00:00
parent 724df5b3a0
commit 7ba0d9cc4e
No known key found for this signature in database
GPG key ID: 7B4EAF7B9E291B79

View file

@ -29,9 +29,15 @@ then run either:
<blockquote>
```bash
# site-icons https://github.com
Command:
```bash
site-icons https://github.com
```
Output:
```
https://github.githubassets.com/favicons/favicon.svg site_favicon svg
https://github.githubassets.com/app-icon-512.png app_icon png 512x512
https://github.githubassets.com/apple-touch-icon-180x180.png app_icon png 180x180
@ -46,9 +52,15 @@ https://github.githubassets.com/apple-touch-icon-180x180.png app_icon png 180x18
<blockquote>
```jsonc
// site-icons https://reactjs.org --json
Command:
```bash
site-icons https://reactjs.org --json
```
Output:
```json
[
{
"url": "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9Ii0xMS41IC0xMC4yMzE3NCAyMyAyMC40NjM0OCI+CiAgPHRpdGxlPlJlYWN0IExvZ288L3RpdGxlPgogIDxjaXJjbGUgY3g9IjAiIGN5PSIwIiByPSIyLjA1IiBmaWxsPSIjNjFkYWZiIi8+CiAgPGcgc3Ryb2tlPSIjNjFkYWZiIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9Im5vbmUiPgogICAgPGVsbGlwc2Ugcng9IjExIiByeT0iNC4yIi8+CiAgICA8ZWxsaXBzZSByeD0iMTEiIHJ5PSI0LjIiIHRyYW5zZm9ybT0icm90YXRlKDYwKSIvPgogICAgPGVsbGlwc2Ugcng9IjExIiByeT0iNC4yIiB0cmFuc2Zvcm09InJvdGF0ZSgxMjApIi8+CiAgPC9nPgo8L3N2Zz4K",