# @mcap/core

> MCAP file support in TypeScript

Latest version **2.4.0** (published 2026-10-26) · MIT license · 0 weekly downloads

## Install

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

## Health

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

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

Warnings: low downloads; no types.

## Facts

| | |
|---|---|
| Version | 2.4.0 |
| Published | 2026-10-26 |
| First published | 2022-03-22 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 3 |
| Unpacked size | 1.5 MB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 1146 |
| Author | Foxglove Technologies |
| Maintainers | foxglovebot, amacneil, defunctzombie |

## Links

- npm: https://www.npmjs.com/package/@mcap/core
- Repository: https://github.com/foxglove/mcap
- Homepage: https://foxglove.dev/
- npm.io page: https://npm.io/package/@mcap/core

## Dependencies (3)

- [tslib](https://npm.io/package/tslib.md) ^2.8.1
- [heap-js](https://npm.io/package/heap-js.md) ^2.7.1
- [@foxglove/crc](https://npm.io/package/@foxglove/crc.md) ^0.0.3

## Recent versions

- 2.4.0 (latest) — 2026-10-26
- 2.3.0 — 2026-09-25
- 2.2.2 — 2026-09-07
- 2.2.1 — 2026-04-24
- 2.2.0 — 2026-02-17
- 2.1.7 — 2025-06-19
- 2.1.6 — 2025-01-14
- 2.1.5 — 2024-09-24
- 2.1.4 — 2024-08-30
- 2.1.3 — 2024-08-30
- 2.1.2 — 2024-06-24
- 2.1.1 — 2024-03-29
- 2.1.0 — 2024-03-12
- 2.0.2 — 2023-12-18
- 2.0.1 — 2023-12-06
- … 12 more at https://npm.io/package/@mcap/core/versions

## README

# @mcap/core

[MCAP](https://mcap.dev/) is a modular container format and logging library for pub/sub messages with arbitrary message serialization. It is primarily intended for use in robotics applications, and works well under various workloads, resource constraints, and durability requirements.

The `@mcap/core` package provides low-level readers and writers for the MCAP format in TypeScript.

## Examples

Examples of how to use the `@mcap/core` APIs can be found in the [TypeScript examples folder](https://github.com/foxglove/mcap/tree/main/typescript/examples) in the MCAP repo.

## License

`@mcap/core` is licensed under the [MIT License](https://opensource.org/licenses/MIT).

## Stay in touch

Join our [Discord community](https://foxglove.dev/chat) to ask questions, share feedback, and stay up to date on what our team is working on.

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