Skip to content
Agents tracked: 378 Downloads (7d): 244M down 5.7% GitHub stars: 8.4M VS Code installs: 151M Releases (7d): 407 Agent status: 1 with issues Updated Oct 10, 2026

PostHog Node.js

PostHog product analytics SDK for Node.js and server-side tracking.

Logging, monitoring and analytics npm MIT

Used in agent projects
34
0.3% of 12,697 public repos built with AI coding agents
Rank in logging, monitoring and analytics
#23 of 29
by use in those projects
Downloads
13.3M
npm, last 7 days, posthog-node
GitHub stars
633
last push Oct 10, 2026

How PostHog Node.js is used

PostHog Node.js is a dependency in 34 of the 12,697 public GitHub projects set up for AI coding agents that we scanned (0.3%), #23 of 29 in logging, monitoring and analytics. The most used alternative there is Vercel Analytics. Projects that use it most often also use Zod (76.5%), PostHog JS (76.5%), Vitest (67.6%).

Often used with PostHog Node.js

Zod76.5% of PostHog Node.js projects · 4.5× more than average
PostHog JS76.5% of PostHog Node.js projects · 131.2× more than average
Vitest67.6% of PostHog Node.js projects · 5.5× more than average
Playwright (JavaScript)61.8% of PostHog Node.js projects · 7.0× more than average
Class Variance Authority55.9% of PostHog Node.js projects · 4.0× more than average
clsx61.8% of PostHog Node.js projects · 3.5× more than average
Tailwind Merge58.8% of PostHog Node.js projects · 3.5× more than average
jsdom50.0% of PostHog Node.js projects · 9.3× more than average

By coding agent

Claude Code0.7% of projects set up for it
Cursor0.6% of projects set up for it
GitHub Copilot0.4% of projects set up for it
OpenAI Codex1.3% of projects set up for it

Share of public repos configured for each agent that list PostHog Node.js as a dependency.

Install

Packagenpm install posthog-node
Main stacksNext.js (18), TypeScript / JavaScript (15), Python (1)
Example projectsRanork/remnus-app, amirardalan/portfolio, Vectreal/vectreal-platform, DiegoFleitas/letterboxd-movie-justwatch, NathanAB/statuslin.es

Alternatives to PostHog Node.js

All logging, monitoring and analytics

Tool Used in agent projectsDownloads / wk GitHub starsLicense
Vercel Analytics npm
Real-time web analytics SDK for tracking traffic and user behavior.
422 (3.3%) 8.3M 517 MIT
pino-pretty npm
Pretty-printer for Pino JSON logs to make terminal output human-readable.
223 (1.8%) 24.6M 1,706 MIT
Web Vitals npm
Measure Core Web Vitals and other key performance metrics in JavaScript.
222 (1.7%) 48.7M 8,640 Apache-2.0
Vercel Speed Insights npm
Measure web performance metrics and get recommendations for improvement.
167 (1.3%) 5.6M 116 Apache-2.0
psutil pypi
Cross-platform library for retrieving process and system monitoring information.
144 (1.1%) 74.7M 11.3K BSD-3-Clause
Pino npm
Ultra-fast JSON logger for Node.js with minimal overhead.
129 (1.0%) 53.3M 18.2K MIT
Sentry for Next.js npm
Official Sentry SDK for error tracking and performance monitoring in Next.js apps.
119 (0.9%) 11.7M 8,756 MIT
Loguru pypi
Simplified Python logging library with intuitive API and structured logging.
108 (0.9%) 16.4M 24.1K —
Is PostHog Node.js right for your project? Ask AgentGid →