kopia lustrzana https://github.com/badgen/badgen.net
fix: apm badge dl & stars count at 0
rodzic
7a5f06fcc5
commit
ec0fc501fb
|
@ -46,14 +46,14 @@ async function pkg (topic, args) {
|
|||
case 'downloads': {
|
||||
return {
|
||||
subject: 'downloads',
|
||||
status: millify(meta.downloads) || 'unknown',
|
||||
status: millify(meta.downloads),
|
||||
color: 'green'
|
||||
}
|
||||
}
|
||||
case 'stars': {
|
||||
return {
|
||||
subject: 'stars',
|
||||
status: millify(meta.stargazers_count) || 'unknown',
|
||||
status: millify(meta.stargazers_count),
|
||||
color: 'green'
|
||||
}
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue