posthog-js
Posthog-js allows you to automatically capture usage and send events to PostHog.
posthog-js@1.442.0 was published on 2026-10-29. Its manifest declares 10 runtime dependencies and 2 peer requirements. Type declarations are bundled according to the package metadata. No Node.js engine requirement is declared in this manifest.
All posthog-js versions · Permanent reference to 1.442.0
Package specifications
| Version | 1.442.0 |
|---|---|
| License declaration | (Apache-2.0 AND MIT) |
| Published | 2026-10-29T09:59:25.744Z |
| Node.js requirement | Not declared |
| Type declarations | Bundled declarations |
| Runtime dependency count | 10 |
| Peer requirement count | 2 |
| Optional dependency count | 0 |
| Minified size | Measurement not available yet |
| Minified + gzip | Measurement not available yet |
| Unpacked distribution size | 25896.72 KiB |
| Published file count | 762 |
| Package type | Not declared |
| ES module entry | dist/module.mjs |
| Default entry | dist/main.js |
| Side effects declaration | Not declared |
| Direct advisories | 0 |
| Resolved graph dependencies | Unknown |
| Repository stars | 635 |
| Repository forks | 367 |
Install posthog-js 1.442.0
npm install posthog-js@1.442.0 pnpm add posthog-js@1.442.0 yarn add posthog-js@1.442.0
Runtime dependencies
- fflate ^0.4.8
- preact ^10.29.3
- core-js ^3.49.0
- dompurify ^3.4.13
- web-vitals ^6.2.1
- @posthog/core ^1.61.2
- @posthog/types ^1.418.0
- web-vitals-soft-navs npm:web-vitals@6.2.1
- @posthog/browser-common ^0.10.1
- query-selector-shadow-dom ^1.0.1
Peer requirements
- react >=16.8.0 (optional peer)
- @types/react >=16.8.0 (optional peer)
Optional dependencies
- None declared
How to interpret the specifications
Bundlephobia measurements use its standard package build and may exclude peer dependencies. Unpacked npm distribution size includes shipped files and is a different measurement. Module declarations do not prove tree-shaking or runtime compatibility.
Advisories apply to this package version directly; transitive dependencies need separate inspection. Repository signals describe the whole repository and are current observations, including on historical-version pages.
OpenSSF repository checks
Provider assessment: 2026-08-24T00:00:00Z. These are repository checks, not a jsL maintenance score.
| Code-Review | 5/10 — Found 12/22 approved changesets -- score normalized to 5 |
|---|---|
| Maintained | 10/10 — 30 commit(s) and 12 issue activity found in the last 90 days -- score normalized to 10 |
| CII-Best-Practices | 0/10 — no effort to earn an OpenSSF best practices badge detected |
| Dangerous-Workflow | 10/10 — no dangerous workflow patterns detected |
| License | 9/10 — license file detected |
| Branch-Protection | 4/10 — branch protection is not maximal on development and all release branches |
| Token-Permissions | 0/10 — detected GitHub workflow tokens with excessive permissions |
| Security-Policy | 10/10 — security policy file detected |
| Binary-Artifacts | 7/10 — binaries present in source code |
| Pinned-Dependencies | 8/10 — dependency not pinned by hash detected -- score normalized to 8 |
| Fuzzing | 10/10 — project is fuzzed |
| SAST | 10/10 — SAST tool is run on all commits |
Evidence and freshness
- https://registry.npmjs.org/posthog-js/1.442.0 — retrieved 2026-10-29T11:13:19.193Z
- https://api.deps.dev/v3/systems/npm/packages/posthog-js/versions/1.442.0 — retrieved 2026-10-29T11:13:19.760Z
- https://api.deps.dev/v3/projects/github.com%2FPostHog%2Fposthog-js — retrieved 2026-10-29T11:13:19.941Z