GitHub

posthog-js

Posthog-js allows you to automatically capture usage and send events to PostHog.

npm says

24,813,515

per week

Every tarball fetch: mirrors, scanners, CI and people.

real installs

high confidence

≈ 24.8M

per week

Mirror spikes and crawlers removed. CI and dependency installs still count, so this is not a head count.

noise under 1% of npm's count, so nearly all of it counts. noise real installs

Why this estimate

With JavaScript on, this lists what the filter found for this package.

Snapshot from the daily build of Nov 10, 2026, last 7 days of npm data. With JavaScript on, this page recomputes it live from the npm API.

How many people use posthog-js?

npm counted 24,813,515 downloads of posthog-js in the last 7 days. Nobody can count people exactly, npm included: it does not record who downloaded what. After removing mirror spikes and crawlers, about 24.8M look like real installs. At this scale most of them come from CI, builds and other packages that depend on posthog-js, so the number of people behind them is far smaller.

Is posthog-js still maintained?

Most likely yes, going by its releases. The latest version, 1.447.9, came out on Nov 10, 2026. The last 12 months saw 557 stable releases, typically 1 day apart. It was first published on Feb 20, 2020. npm lists 21 maintainers.

Is posthog-js still used?

Downloads with publish spikes removed are up 114% over 3 months and up 956% over 11 months. For scale, the median of the 384 packages we track, which lean towards today's most downloaded, is up 164% over 11 months, so this one is ahead of that. Last week, 100% of downloads above the crawler floor were on major version 1, the latest one; the most used single version was 1.438.12, with 5%. Weekdays get 1.6× the downloads of weekends, which fits people at work, though CI follows the same rhythm. Over the last 12 months, 8,135,889 downloads arrived in publish spikes and were attributed to mirrors. Crawlers account for about 5,952 downloads a week, roughly 4 per version.

Monthly downloads of posthog-js

The busiest month was Oct 2026, with about 2,942,333 downloads a day once publish spikes are removed; the quietest was Dec 2025 (the holiday season), with about 282,053.

monthnpm downloadspublish spikes removedreal installsvs month before
Oct 2026 76,500,666 0 76.5M up 29%
Sep 2026 61,530,506 0 61.5M up 36%
Aug 2026 52,055,283 0 52M–52.1M up 19%
Jul 2026 43,626,440 0 43.6M up 24%
Jun 2026 34,148,234 0 34.1M up 25%
May 2026 28,120,527 0 28.1M up 24%
Apr 2026 21,962,877 0 22M up 21%
Mar 2026 18,748,153 0 18.7M up 32%
Feb 2026 12,851,662 0 12.8M–12.9M up 30%
Jan 2026 14,049,923 3,114,588 (22%) 10.9M–14M up 25%
Dec 2025 8,743,635 0 8.74M —

Whole months through Oct 31, 2026. Publish spikes are found day by day and summed per month. Real installs apply this week's crawler share to each month's downloads (the upper end also keeps the removed spikes), so they follow npm's curve rather than measure it. The change compares spike-free downloads per day.

How the estimate works

  1. Cut the spike every new version gets from mirrors in its first days.
  2. Subtract the flat floor robots download from every version each week.
  3. Show what is left as a range, with a confidence level. It still includes CI and dependency installs, so it is not a count of people.

Read the methodology

Other packages