Package
posthog-js
Posthog-js allows you to automatically capture usage and send events to PostHog.
v1.434.13, 24 Sept 2026(Apache-2.0 AND MIT)ESM + CommonJSTypes: BundledMonitoring and error trackingTypeScript tooling
Key numbers
As of 25 Sept 2026
- Weekly downloads
- 10m
- +239% over 12 months
- Gzip bundle size
- -
- No Bundlephobia data
- Dependencies
- 10
- Direct, from package.json
- Last release
- today
- v1.434.13
- GitHub stars
- 610
- 347 forks
- Open issues / PRs
- 113 / 50
- Contributors
- -
- Commits, last 52 weeks
- 2,562
Downloads
Last week 2026-09-15 to 2026-09-21
10,041,680 downloads last week, 48,399,292 in the last month. The 12-month change of +239% compares the average of the last 4 weeks with the first 4 weeks of the series.
- Releases, last 12 months
- 5241,386 in total
- Latest version
- 1.434.13, 24 Sept 2026today
- First published
- 20 Feb 2020
- Last push to GitHub
- 25 Sept 2026same day as the snapshot
- Repository archived
- No
- Open issues
- 113
- Open pull requests
- 50
- Commits, last 52 weeks
- 2,562
- Dependents on npm
- 374
Major versions
- v1 first release 1.0.0, 20 Feb 2020
Recent releases
| Version | Published |
|---|---|
| 1.434.13 | 24 Sept 2026 |
| 1.434.12 | 23 Sept 2026 |
| 1.434.11 | 23 Sept 2026 |
| 1.434.10 | 23 Sept 2026 |
| 1.434.9 | 22 Sept 2026 |
| 1.434.8 | 22 Sept 2026 |
| 1.434.7 | 22 Sept 2026 |
| 1.434.6 | 22 Sept 2026 |
| 1.434.5 | 21 Sept 2026 |
| 1.434.4 | 21 Sept 2026 |
| 1.434.3 | 21 Sept 2026 |
| 1.434.2 | 18 Sept 2026 |
| 1.434.1 | 18 Sept 2026 |
| 1.434.0 | 17 Sept 2026 |
- Module format
- ESM + CommonJSFrom package.json type, main and exports fields
- TypeScript types
- Bundled
- Node.js engine range
- Not declared
- Runtimes
- -
- Unpacked size (npm)
- 25.2 MB
- Dependencies (10)
fflatepreactcore-jsdompurifyweb-vitals@posthog/core@posthog/typesweb-vitals-soft-navs@posthog/browser-commonquery-selector-shadow-dom- Peer dependencies (2)
react@types/react
npm install posthog-jsCDN
jsDelivr: 35.5m requests in 30 days
- jsDelivr
https://cdn.jsdelivr.net/npm/posthog-js@1.434.13/ - unpkg
https://unpkg.com/posthog-js@1.434.13/ - esm.sh
https://esm.sh/posthog-js@1.434.13
| Package | Weekly downloads | Gzip | Last release | Module | Comparison |
|---|---|---|---|---|---|
| node-os-utils | 174.2k | - | 15 days ago | ESM + CommonJS | - |
Indexability: Indexed.