feat: added ability to hide specific stats (#3)

* feat: added ability to hide specific stats

* chore: added docs for ?hide=

* chore: fix readme docs

* chore: updated docs preview link
This commit is contained in:
Anurag Hazra authored and GitHub committed 2020-07-09 17:50:15 +05:30
1 parent 59ae7f366e
commit 61626af2d4
2 files changed
+93 -24

No files matched your search

+14
View File
@@ -12,10 +12,24 @@ change the `?username=` value to your GitHubs's username
![Anurag's github stats](https://github-readme-stats.vercel.app/api?username=anuraghazra)
```
### Hiding certain stats
To hide any specific stats you can pass a query parameter `?hide=` with an array of items you wanna hide.
> Options: `&hide=["stars","prs","issues","contribs"]`
```md
![Anurag's github stats](https://github-readme-stats.vercel.app/api?username=anuraghazra&hide=["contribs","prs"])
```
## Demo
![Anurag's github stats](https://github-readme-stats.vercel.app/api?username=anuraghazra)
- Hiding specific stats
![Anurag's github stats](https://github-readme-stats.vercel.app/api?username=anuraghazra&hide=["contribs","issues"])
Contributions are welcomed! <3
Made with :heart: and javascript.