Free npm downloads badge

Free npm downloads badge for any website

The free npm downloads badge that doesn't refetch an SVG every page load. Shields.io's npm badge is fetched 3rd-party. npm-stat.com is a separate site visitors have to leave for. This npm downloads badge is a 4 KB script tag — pulls the live download count from api.npmjs.org, caches it server-side for 6 hours, and shows 'npm 3.2M downloads / week' as a crisp pill in 7 themes. Free, no API key, no signup, supports scoped packages (@scope/pkg).

by FeedPulse Editorial24 sites installed· last install 22m agoJust installed in 🇳🇬 Lagos · 2h ago
npm downloads badgenpm badgenpm downloads widgetembed npm stats on websitenpm download count widgetnpm badge for websiteembed npm downloadsnpm package badgenpm weekly downloads widgetnpm stats widgetnpm download counter embedfree npm downloads badge
Customize and grab embed code

Why use a free embeddable npm downloads badge on your website?

The free npm downloads badge that doesn't refetch an SVG every page load. Shields.io's npm badge is fetched 3rd-party. npm-stat.com is a separate site visitors have to leave for. This npm downloads badge is a 4 KB script tag — pulls the live download count from api.npmjs.org, caches it server-side for 6 hours, and shows 'npm 3.2M downloads / week' as a crisp pill in 7 themes. Free, no API key, no signup, supports scoped packages (@scope/pkg).

Npm downloads badge for WordPress, Shopify, Wix, Webflow & plain HTML

The FeedPulse npm downloads badge is a single async <script> tag — paste it into any HTML pane and you're done. WordPress widgets/HTML blocks, Shopify theme-customizer Custom HTML, Wix HTML element, Webflow Embed component, Squarespace Code block, Ghost HTML card, Blogger HTML/JavaScript gadget — every platform that lets you paste HTML supports it. No plugins, no app store, no admin permissions needed.

How to add the npm downloads badge to your site in 60 seconds

  1. Open the Free npm downloads badge customizer.
  2. Pick your colors, size, and any options that apply.
  3. Click "Copy" on the generated embed snippet.
  4. Paste the line wherever you'd put any HTML — anywhere on any page, on any platform.
  5. That's it. No signup, no account creation, no email required.

Why the FeedPulse npm downloads badge is 100% free, forever

Every widget we offer is free forever. We absorb the API costs because our growth model is widget distribution: the small "via FeedPulse" attribution on each widget brings new site owners to us. Install the widget → we earn the impression. That's the entire business model. No paywall, no premium tier, no ads, no email harvesting, no signup wall.

npm downloads widget — live count on any landing page

An npm downloads widget is the live, script-tag version of an npm badge. The trade-off: an SVG badge works inside markdown (READMEs, GitHub release notes, npm package descriptions); an npm downloads widget works only on web pages but renders richer presentation — last-day, last-week, and last-month counts in one pill, plus 7 themes. For your package's landing page, docs site, or open-source portfolio, the npm downloads widget is the better fit. Caches every count server-side for 6 hours, so spikes from a Hacker News hit don't burn your traffic budget.

How to embed npm stats on a website or README

To embed npm stats on a website (Webflow, Notion-published site, WordPress, Shopify, plain HTML), paste the FeedPulse script tag once and you're done — no build step, no API key, no plugin install. For a README inside GitHub or npmjs.com itself, you have to use a static SVG (markdown strips inline scripts), so use the equivalent Shields.io image URL there. The widget supports scoped packages (@scope/pkg), private packages with public download counts, and packages with hyphens or dots in their name — anything api.npmjs.org returns for is renderable.

Npm downloads badge — frequently asked questions

Does this widget slow down my page?

No. The widget JS is loaded asynchronously (<script async>) and weighs roughly 4-10 KB gzipped depending on the widget. Lighthouse Performance impact is typically < 1 point on mobile.

Is there really no signup or API key required?

Really. The script tag is the entire "install". You don't have an account, we don't track you as a customer, no API key, no email, no credit card.

Can I remove the "via FeedPulse" attribution?

The attribution is what keeps the service free. It's intentionally small and unobtrusive. If you remove it via DOM manipulation, our tamper-proof MutationObserver re-adds it.

Will this widget keep working long-term?

Yes. Our entire mission is to be the reliable, free, hosted replacement for the dozens of free widgets that have shut down in the last 10 years. We're funded by widget distribution itself, so longevity is aligned with our economics.

/ frequently asked

Free npm downloads badge — questions, answered.

Where does the npm downloads badge get its data from?

Directly from npm's public `api.npmjs.org/downloads/point/{period}/{package}` endpoint. No authentication is required — npm's downloads API is unmetered for cached reads. FeedPulse adds a 6-hour cache per (package, period) so thousands of embeds share one upstream call.

Does the npm downloads badge support scoped packages like @types/node?

Yes. Scoped packages work transparently — the customizer accepts `@scope/package` (with the leading `@`) and the embed snippet URL-encodes the slash automatically. We tested with `@types/node`, `@vercel/og`, `@next/swc-linux-x64-gnu`, and all other common scoped patterns.

Which time periods does the npm downloads badge support?

Three periods, matching the npm API: last-day, last-week (default — best signal-to-noise), and last-month. Toggle in the Generator. Each variant has its own server cache so switching periods between embeds doesn't cost extra upstream calls.

How fresh is the download count on the npm downloads badge?

npm itself updates the downloads endpoint daily (always one day behind, e.g. on Tuesday you see Monday's number). FeedPulse caches that snapshot for 6 hours, so the badge is at most ~30 hours behind npm's most recent published number — perfectly fresh for a download brag-badge.

Does the npm downloads badge slow down my page?

No. The npm downloads badge loads asynchronously (<script async>) and weighs roughly 4-10 KB gzipped. Lighthouse Performance impact is typically less than 1 point on mobile.

Is there really no signup or API key required?

Yes — no account, no email, no credit card, no API key. Pick your options in the customizer, copy the embed snippet, paste it on your site.

Does the npm downloads badge work on WordPress, Shopify, Wix and Webflow?

Yes. It's a single async <script> tag, so it works on every platform that lets you paste HTML — WordPress, Shopify, Wix, Webflow, Squarespace, Ghost, Blogger, plain HTML.

Can I display the npm downloads badge in my own language?

Yes — the widget UI supports 12 languages out of the box (English, Spanish, French, German, Hindi, Portuguese, Italian, Russian, Japanese, Chinese, Arabic, Dutch). Pick yours from the 'Widget language' dropdown in the customizer.

/ also free
AI SEO Audit
Paste any URL — get a Gemini-powered audit of title, meta, schema, CWV, internal links + a prioritised fix list. Free, no signup.