:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.
Python ab-testingai-analyticsanalyticscdpdata-warehouseexperimentsfeature-flagsjavascriptproduct-analyticspythonreactsession-replaysurveystypescriptweb-analytics
{
"name": "@posthog/api-client",
"version": "1.0.0",
"description": "Client for the PostHog API (auth, projects, task metadata, billing). Pure HTTPS, runs in any JS environment. Constructed via factory function — no DI container.",
"private": true,
"type": "module",
"exports": {
".": "./src/index.ts",
"./*": [
"./src/*.ts"
]
},
"scripts": {
"typecheck": "tsc --noEmit",
"test": "vitest run",
"clean": "node ../../scripts/rimraf.mjs .turbo",
"generate-client": "tsx scripts/update-openapi-client.ts"
},
"devDependencies": {
"@posthog/tsconfig": "workspace:*",
"prettier": "3.8.1",
"tsx": "^4.22.3",
"typed-openapi": "2.2.7",
"typescript": "catalog:",
"vitest": "^4.1.8"
},
"files": [
"src/**/*"
],
"dependencies": {
"@posthog/shared": "workspace:*",
"zod": "^4.1.12"
}
}