badge-generator
badge-generator copied to clipboard
Handle latest in NPM package badge
Relates to #19 but also existing badges
e.g. target: https://www.npmjs.com/package/vue
Fixed and dynamic badges
[](https://www.npmjs.com/package/vue)
Handle versioned
And latest - use@latest in the npm package shield or just type latest in a plain badge?
and not locked. That can also be static badge which links to NPM but does not use the package file
Getting latest from NPM and showing the version. This makes sense where you have the latest version your HTML and not a locked package.
[](https://docsify.js.org/)
Perhaps latest as a label is more useful than the actual number.
Even with #19, the latest option without using package file can help.
Maybe literal foo - latest
Or point to NPM and it will show you the version in your docs.
You could also just make a static badge as foo - 1.X - but on the Package page so you get the benefit of external NPM registry link.