As titled, I would like to have a badge for, let's say, this repo
Looking online, I found, for example, this:
[]()
I tried to embed in all the possible ways
[]()
but I always get invalid or 0 (which cannot be because I saw the github statistics)
What am I missing?
The npm in your URL stands for Node package manager which is not what you want. Use the URL for Github instead:
Total downloads:
[]()
Unfortunately it does not seem to be possible to get a badge for the monthly downloads like this. But maybe you want to show the download count for the latest release:
[]()