If you need to use a raster PNG badge, change the '.svg' to '.png' in the link
Use the http registry
If this works it will fix #864.
Some Appveyor VMs have an expired certificate for npmjs.org, and when
this occurs it causes the install to fail. This change makes it so that
Appveyor uses the http registry instead.
relevant lines covered
hits per line