Skip to content

Version Badge

Generate version badges for various types of projects (Python, Go, npm, PHP, Github, etc.).

ref-online-tool

Parameters

Click to show/close parameters

NameTypeRequiredDefaultDescriptionMore Description
ref-params
typestringtrueBadge typeSupported: js (npm) rb (Ruby) py (Python) go (Go) bo (Bower) gh (Github) nu (NuGet) ph (PHP) co (CocoaPods) pl (Perl) pg (PGXN).
packageNamestringtruePackage nameEscape special characters, such as / to %2F.
formatstringtrueFormatSupported: .svg .png @2x.png.
ref-querys
iconstringIconFixed prefix: si%3A for example: icon=si%3Agithub.
icon_colorstringIcon colorFormat: HEX for example: #FF0000.
txt
https://badge.fury.io/{type}/{packageName}{format}{?icon,icon_color}

Examples

markdown
<!-- xiaohuohumax/auto-unpack -->
![Pyhton version](https://badge.fury.io/py/auto-unpack.svg)
Pyhton version
markdown
<!-- xiaohuohumax/vscode-export-profiles -->
![Github repo version](https://badge.fury.io/gh/xiaohuohumax%2Fvscode-export-profiles.svg)
Github repo version

Badge Collection (v3.0.5) MIT Licensed