# @xmtp/proto

> Protobuf client and generated classes for GRPC API

Latest version **3.96.0** (published 2026-08-19) · MIT license · 0 weekly downloads

## Install

```sh
npm install @xmtp/proto
pnpm add @xmtp/proto
yarn add @xmtp/proto
bun add @xmtp/proto
```

## 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 | 3.96.0 |
| Published | 2026-08-19 |
| First published | 2022-07-28 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 3 |
| Unpacked size | 2.9 MB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 19 |
| Author | XMTP Labs |
| Maintainers | xmtp-eng-robot, galligan, nick-xmtp |
| Keywords | xmtp, messaging, web3, sdk, js, javascript, node, nodejs |

## Links

- npm: https://www.npmjs.com/package/@xmtp/proto
- Repository: https://github.com/xmtp/proto
- Homepage: https://github.com/xmtp/proto#readme
- Issues: https://github.com/xmtp/proto/issues
- npm.io page: https://npm.io/package/@xmtp/proto

## Dependencies (3)

- [long](https://npm.io/package/long.md) ^5.3.2
- [rxjs](https://npm.io/package/rxjs.md) ^7.8.2
- [protobufjs](https://npm.io/package/protobufjs.md) ^7.5.4

## Alternatives

- [@mapbox/jsonlint-lines-primitives](https://npm.io/package/@mapbox/jsonlint-lines-primitives.md) — 5.3M weekly downloads
- [reftools](https://npm.io/package/reftools.md) — 3.5M weekly downloads
- [@hey-api/openapi-ts](https://npm.io/package/@hey-api/openapi-ts.md) — 3.5M weekly downloads
- [@mapbox/geojson-rewind](https://npm.io/package/@mapbox/geojson-rewind.md) — 2.4M weekly downloads
- [turbo-stream](https://npm.io/package/turbo-stream.md) — 1.7M weekly downloads

## Recent versions

- 3.96.0 (latest) — 2026-08-19
- 3.41.0-beta.6 (beta) — 2024-02-08
- 3.95.0 — 2026-08-07
- 3.94.0 — 2026-07-24
- 3.93.0 — 2026-06-08
- 3.92.0 — 2026-05-26
- 3.91.0 — 2026-05-26
- 3.90.0 — 2026-04-27
- 3.89.0 — 2026-04-06
- 3.88.0 — 2025-11-20
- 3.87.0 — 2025-09-19
- 3.86.0 — 2025-07-24
- 3.85.0 — 2025-07-17
- 3.84.0 — 2025-07-07
- 3.83.0 — 2025-06-25
- … 151 more at https://npm.io/package/@xmtp/proto/versions

## README

This is the authoritative source of information about the XMTP protocol itself. It contains

* an overview of the protocol [PROTOCOL.md](https://github.com/xmtp/proto/blob/main/PROTOCOL.md)
* the protobuf definitions of all the elements of the protocol [/proto](https://github.com/xmtp/proto/blob/main/proto)
* code generated from the protobuf definitions [go/](https://github.com/xmtp/proto/blob/main/go)

Note that the generated typescript code is not committed here, instead it is generated dynamically when publishing the [proto package to npm](https://www.npmjs.com/package/@xmtp/proto)

The overview and the protobuf files together form the definition of the protocol. The overview leans heavily on the protobuf files and also serves as a guide for finding the relevant details in them.

## Working on this repo

Before committing any changes to this repo, you will want to run `npm i` at least once. This will install the Husky precommit hooks to your machine.

Go code will be regenerated based on the `.proto` files on each commit and does not need to be done manually.

Commit messages must be in the [Angular Commit Message Convention](https://gist.github.com/stephenparish/9941e89d80e2bc58a153)

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