Skip to content

Commit 47b8b03

Browse files
committed
Document npm download badges
Add weekly and total npm download badges near the README install command so the package metrics are visible from GitHub and npm without opening the package page.
1 parent fb23009 commit 47b8b03

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,11 @@
1212
Install with <code>npm install -g @leonw24/open-codex</code>, then run <code>open-codex</code>.
1313
</p>
1414

15+
<p align="center">
16+
<a href="https://www.npmjs.com/package/@leonw24/open-codex"><img alt="npm weekly downloads" src="https://img.shields.io/npm/dw/%40leonw24%2Fopen-codex?label=weekly%20downloads" /></a>
17+
<a href="https://www.npmjs.com/package/@leonw24/open-codex"><img alt="npm total downloads" src="https://img.shields.io/npm/dt/%40leonw24%2Fopen-codex?label=total%20downloads" /></a>
18+
</p>
19+
1520
<p align="center">
1621
<a href="#english"><img alt="English" src="https://img.shields.io/badge/English-default-111111?style=for-the-badge" /></a>
1722
<a href="#简体中文"><img alt="简体中文" src="https://img.shields.io/badge/简体中文-switch-444444?style=for-the-badge" /></a>

0 commit comments

Comments
 (0)