# @posthog/core

Latest version **1.54.0** (published 2026-09-14) · MIT license · 0 weekly downloads

## Install

```sh
npm install @posthog/core
pnpm add @posthog/core
yarn add @posthog/core
bun add @posthog/core
```

## Health

**Score 70/100 (B)** — status: active.

Positive: has types; esm support; no vulnerabilities; has provenance; recently updated; high maintenance score.

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 1.54.0 |
| Published | 2026-09-14 |
| First published | 2025-07-23 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 1 |
| Unpacked size | 2.1 MB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 605 |
| Maintainers | fuziontech, mariusandra, ben-posthog, timgl, rafael_posthog, fraserhopper, manoelposthog, robbie-c, gustavostrassburger, dustinbyrne, feliperalmeida, lucasheriques, frankposthog, tom-posthog, adamleithp, cat-ph, sarahxsanders, peterkirkhamposthog, ioannisj, joshuasnyder, huguespouillot |

## Links

- npm: https://www.npmjs.com/package/@posthog/core
- Repository: https://github.com/PostHog/posthog-js
- Issues: https://github.com/PostHog/posthog-js/issues
- npm.io page: https://npm.io/package/@posthog/core

## Dependencies (1)

- [@posthog/types](https://npm.io/package/@posthog/types.md) ^1.412.0

## Recent versions

- 1.54.0 (latest) — 2026-09-14
- 1.5.7 (previous) — 2025-11-24
- 1.53.3 — 2026-09-14
- 1.53.2 — 2026-09-11
- 1.53.1 — 2026-09-11
- 1.53.0 — 2026-09-10
- 1.52.2 — 2026-09-10
- 1.52.1 — 2026-09-10
- 1.52.0 — 2026-09-09
- 1.51.2 — 2026-09-09
- 1.51.1 — 2026-09-09
- 1.51.0 — 2026-09-07
- 1.50.6 — 2026-09-07
- 1.50.5 — 2026-09-04
- 1.50.4 — 2026-09-03
- … 185 more at https://npm.io/package/@posthog/core/versions

## README

<p align="center">
  <img alt="posthoglogo" src="https://user-images.githubusercontent.com/65415371/205059737-c8a4f836-4889-4654-902e-f302b187b6a0.png">
</p>
<p align="center">
  <img alt="GitHub contributors" src="https://img.shields.io/github/contributors/posthog/posthog"/>
  <a href='http://makeapullrequest.com'><img alt='PRs Welcome' src='https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=shields'/></a>
  <img alt="GitHub commit activity" src="https://img.shields.io/github/commit-activity/m/posthog/posthog-js"/>
  <img alt="GitHub closed issues" src="https://img.shields.io/github/issues-closed/posthog/posthog-js"/>
</p>

# PostHog JS

This is a monorepo containing multiple packages to integrate with PostHog using JavaScript!

Please see the main [PostHog docs](https://posthog.com/docs).

## Packages

- [posthog-js](./packages/browser/README.md)
- [posthog-js-lite](./packages/web/README.md)
- [posthog-node](./packages/node/README.md)
- [posthog-react-native](./packages/react-native/README.md)
- [@posthog/react](./packages/react/README.md)
- [@posthog/ai](./packages/ai/README.md)
- [@posthog/convex](./packages/convex/README.md)
- [@posthog/nextjs-config](./packages/nextjs-config/README.md)
- [@posthog/nuxt](./packages/nuxt/README.md)
- [@posthog/openfeature-node-provider](./packages/openfeature-node-provider/README.md)
- [@posthog/openfeature-web-provider](./packages/openfeature-web-provider/README.md)
- [@posthog/plugin-utils](./packages/plugin-utils/README.md)
- [@posthog/rollup-plugin](./packages/rollup-plugin/README.md)
- [@posthog/types](./packages/types/README.md)
- [@posthog/webpack-plugin](./packages/webpack-plugin/README.md)

## Contributing

See [CONTRIBUTING.md](./CONTRIBUTING.md)

---
_Source: https://npm.io/package/@posthog/core · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
