New:Microsoft Teams Notifications Are Now Available in Socket.Learn more
Get Started

posthog-js

Package Overview
Dependencies
Maintainers
20
Versions
1390
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

posthog-js

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

Source
npmnpm
Version
1.379.2
Version published
Weekly downloads
10M
-11.22%
Maintainers
20
Weekly downloads
 
Created
Source

PostHog Browser JS Library

npm package MIT License

For information on using this library in your app, see PostHog Docs. This README is intended for developing the library itself.

Dependencies

We use pnpm.

It's best to install using npm install -g pnpm@latest-9 and then pnpm commands as usual

Contributing

See CONTRIBUTING.md for package-specific testing and local linking instructions.

FAQs

Package last updated on 03 Jun 2026

Related posts