# @amplitude/analytics-client-common

Latest version **2.4.60** (published 2026-08-12) · MIT license · 0 weekly downloads

## Install

```sh
npm install @amplitude/analytics-client-common
pnpm add @amplitude/analytics-client-common
yarn add @amplitude/analytics-client-common
bun add @amplitude/analytics-client-common
```

## Health

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

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

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 2.4.60 |
| Published | 2026-08-12 |
| First published | 2022-09-08 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 4 |
| Unpacked size | 231.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 180 |
| Author | Amplitude Inc |
| Maintainers | curtisbliu, kelson.warner, sdk.dev, eric_amplitude, daniel-graham-amplitude, jjwang123 |

## Links

- npm: https://www.npmjs.com/package/@amplitude/analytics-client-common
- Repository: https://github.com/amplitude/Amplitude-TypeScript
- Issues: https://github.com/amplitude/Amplitude-TypeScript/issues
- npm.io page: https://npm.io/package/@amplitude/analytics-client-common

## Dependencies (4)

- [tslib](https://npm.io/package/tslib.md) ^2.4.1
- [@amplitude/analytics-core](https://npm.io/package/@amplitude/analytics-core.md) 2.54.2
- [@amplitude/analytics-types](https://npm.io/package/@amplitude/analytics-types.md) 2.11.1
- [@amplitude/analytics-connector](https://npm.io/package/@amplitude/analytics-connector.md) ^1.4.8

## Recent versions

- 2.4.60 (latest) — 2026-08-12
- 2.4.60-video-analytics.0 (video-analytics) — 2026-07-31
- 2.4.51-featelement-selector-v1.0 (featelement-selector-v1) — 2026-06-15
- 2.4.50-SR-4497-custom-transport-hooks.0 (SR-4497-custom-transport-hooks) — 2026-06-09
- 2.4.49-sr-perf-reliability-rc.0 (sr-perf-reliability-rc) — 2026-06-05
- 2.4.49-sr-4646-rc.0 (sr-4646-rc) — 2026-06-03
- 2.4.48-sr-idb-multitab-test-rc.0 (sr-idb-multitab-test-rc) — 2026-05-04
- 2.4.45-sr-3531-rc-2.0 (sr-3531-rc-2) — 2026-04-20
- 2.4.43-SR-3115-rc2.0 (SR-3115-rc2) — 2026-04-08
- 2.4.43-SR-3115-rc1.0 (SR-3115-rc1) — 2026-04-03
- 2.4.43-SR-3115.0 (SR-3115) — 2026-04-03
- 2.4.34-SR-2728.0 (SR-2728) — 2026-03-12
- 2.4.25-feat-zoning-alpha.0 (feat-zoning-alpha) — 2026-02-03
- 2.4.20-SR-2360.0 (SR-2360) — 2026-01-21
- 2.4.20-fake-branch-1141.0 (fake-branch-1141) — 2026-01-05
- … 206 more at https://npm.io/package/@amplitude/analytics-client-common/versions

## README

<p align="center">
  <a href="https://amplitude.com" target="_blank" align="center">
    <img src="https://static.amplitude.com/lightning/46c85bfd91905de8047f1ee65c7c93d6fa9ee6ea/static/media/amplitude-logo-with-text.4fb9e463.svg" width="280">
  </a>
  <br />
</p>

# Amplitude-TypeScript

This is Amplitude's latest version of the JavaScript SDK, written in TypeScript.
## Development

If you plan on contributing to this SDK, here's how you can start.

1. Clone GitHub repo
2. Install dependencies
3. Build and link packages

```
$ git clone git@github.com:amplitude/Amplitude-TypeScript.git
$ nvm use
$ pnpm --version
$ pnpm install
$ pnpm build
```

Check our guidelines for repo contributions on [CONTRIBUTING.md](https://github.com/amplitude/Amplitude-TypeScript/blob/main/CONTRIBUTING.md).

## Projects

* Amplitude SDK for Web
  * [@amplitude/analytics-browser@^2](https://github.com/amplitude/Amplitude-TypeScript/tree/main/packages/analytics-browser)
  * [@amplitude/analytics-browser@^1](https://github.com/amplitude/Amplitude-TypeScript/tree/v1.x/packages/analytics-browser)
  * [Installation and Quick Start](https://www.docs.developers.amplitude.com/data/sdks/browser-2/)
* Amplitude SDK for Node.js
  * [@amplitude/analytics-node](https://github.com/amplitude/Amplitude-TypeScript/tree/main/packages/analytics-node)
  * [Installation and Quick Start](https://www.docs.developers.amplitude.com/data/sdks/typescript-node/)
* Amplitude SDK for React Native
  * [@amplitude/analytics-react-native](https://github.com/amplitude/Amplitude-TypeScript/tree/main/packages/analytics-react-native)
  * [Installation and Quick Start](https://www.docs.developers.amplitude.com/data/sdks/typescript-react-native/)

## Testing Locally

To test the SDK locally, you can run our test server.

Before running the test server for the first time, copy ".env.example" as ".env" and replace the variables in '.env' with your own variables.

Run `pnpm dev` to run the test server. It will open up to the home page automatically in your default browser.

For more details visit the [Test Server README.md](/test-server/README.md)

### Troubleshooting

If you ever see an error that looks like this while running an Nx command (pnpm test, pnpm build, etc...):

```
 Lerna (powered by Nx)   DB transaction operation error: SqliteFailure(Error { code: SystemIoFailure, extended_code: 522 }, Some("disk I/O error"))
 ```

Run `npx nx reset` and try again

## Documentation

See our [Typescript SDK](https://amplitude.github.io/Amplitude-TypeScript/) Reference for a list and description of all available SDK methods.

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