fix: revert npm downloads label to "/ year" to match API data

The npm API fetches last-year downloads, so "/ week" was incorrect.
This commit is contained in:
Taesu
2026-03-02 01:23:23 +09:00
committed by Alex Yang
parent ea3d80c56c
commit e61fd4afd6

View File

@@ -1411,7 +1411,7 @@ function ReadmeFooter({
/>
</svg>
<span className="text-[9px] font-mono">
{formatCount(stats.npmDownloads)} / week
{formatCount(stats.npmDownloads)} / year
</span>
</div>
</a>