npm Downloads
Display download counts for any npm package.
Show weekly, monthly, yearly, or total download counts.
GET/npm/dm/:package.svg
Path Parameters
required

URL formats
| Period | Endpoint | Example |
|---|---|---|
| Weekly | /npm/dw/{package} | /npm/dw/react |
| Monthly | /npm/dm/{package} | /npm/dm/react |
| Yearly | /npm/dy/{package} | /npm/dy/react |
| Total | /npm/dt/{package} | /npm/dt/react |
| Legacy | /npm/{package}/downloads | /npm/react/downloads |
Examples
<!-- Weekly downloads -->

<!-- Monthly downloads -->

<!-- Yearly downloads -->

<!-- Total downloads -->

Styling examples
<!-- Branded -->

<!-- Green theme -->

<!-- Outline variant -->

Data source
Uses api.npmjs.org. No API key required. Cached 1 hour.