Skip to content

docs: downloads/mo badge in README#118

Merged
Ben Severn (benzsevern) merged 1 commit into
mainfrom
docs/readme-downloads-badge
May 28, 2026
Merged

docs: downloads/mo badge in README#118
Ben Severn (benzsevern) merged 1 commit into
mainfrom
docs/readme-downloads-badge

Conversation

@benzsevern
Copy link
Copy Markdown
Collaborator

Fifth badge in the README row: downloads/mo 272 (last-month npm
downloads).

scripts/render-readme-badges.mjs now fetches from
https://api.npmjs.org/downloads/point/last-month/goldenchart at run time
and bakes the count into the SVG. The badge stays static in git — re-run
the script to refresh.

No download-arrow glyph in v1's BADGE_ICONS, so this one ships without
an icon; the "downloads/mo" label carries the meaning.

scripts/render-readme-badges.mjs now fetches last-month downloads from the
npm API at run time and bakes the count into a fifth badge. Stays static
in git; re-run the script to refresh.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@benzsevern Ben Severn (benzsevern) merged commit 5b21e65 into main May 28, 2026
5 checks passed
@benzsevern Ben Severn (benzsevern) deleted the docs/readme-downloads-badge branch May 28, 2026 15:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant