# @foxglove/schemas

> Foxglove-defined message schemas for ROS, Protobuf, FlatBuffers, OMG IDL, and JSON

Latest version **2.3.1** (published 2026-09-29) · MIT license · 0 weekly downloads

## Install

```sh
npm install @foxglove/schemas
pnpm add @foxglove/schemas
yarn add @foxglove/schemas
bun add @foxglove/schemas
```

## Health

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

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

Warnings: low downloads; no esm support.

## Facts

| | |
|---|---|
| Version | 2.3.1 |
| Published | 2026-09-29 |
| First published | 2022-05-18 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 3 |
| Unpacked size | 1.2 MB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 321 |
| Author | Foxglove |
| Maintainers | foxglovebot, amacneil |

## Links

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

## Dependencies (3)

- [tslib](https://npm.io/package/tslib.md) ^2
- [@foxglove/message-definition](https://npm.io/package/@foxglove/message-definition.md) 0.5.0
- [@foxglove/rosmsg-msgs-common](https://npm.io/package/@foxglove/rosmsg-msgs-common.md) ^3.3.0

## Recent versions

- 2.3.1 (latest) — 2026-09-29
- 2.3.0 — 2026-09-23
- 2.2.0 — 2026-09-15
- 2.1.0 — 2026-06-05
- 2.0.0 — 2026-04-16
- 1.13.0 — 2026-04-01
- 1.12.0 — 2026-03-27
- 1.11.0 — 2026-03-13
- 1.10.3 — 2026-03-12
- 1.10.2 — 2026-03-02
- 1.10.1 — 2026-02-27
- 1.10.0 — 2026-02-24
- 1.9.0 — 2026-01-15
- 1.8.0 — 2025-08-20
- 1.7.3 — 2025-08-05
- … 35 more at https://npm.io/package/@foxglove/schemas/versions

## README

# @foxglove/schemas

This package contains TypeScript type definitions and JSON Schemas for the Foxglove schemas.

## Installation

```bash
npm install @foxglove/schemas
```

## Usage

For a list of available schemas, see https://docs.foxglove.dev/docs/visualization/message-schemas/introduction

```ts
import type { CompressedImage } from '@foxglove/schemas';
import { CompressedImage } from '@foxglove/schemas/jsonschema';
```

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