# @ably/msgpack-js

> msgpack encoder and decoder in pure javascript based on creationix/msgpack-js updated to match the new v5 specification with string support.

Latest version **0.4.1** (published 2025-07-22) · Apache-2.0 license · 0 weekly downloads

## Install

```sh
npm install @ably/msgpack-js
pnpm add @ably/msgpack-js
yarn add @ably/msgpack-js
bun add @ably/msgpack-js
```

## Health

**Score 35/100 (D)** — status: stable.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: stale.

## Facts

| | |
|---|---|
| Version | 0.4.1 |
| Published | 2025-07-22 |
| First published | 2018-09-10 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 22.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Ably Real-time Ltd |
| Maintainers | owenpearson, simonw_ably, ttypic, andrii.bulat.ably, andytwf, splind06, vlad.velici.ably, ably-realtime |

## Links

- npm: https://www.npmjs.com/package/@ably/msgpack-js
- Repository: https://github.com/ably-forks/msgpack-js
- Homepage: https://github.com/ably-forks/msgpack-js#readme
- Issues: https://github.com/ably-forks/msgpack-js/issues
- npm.io page: https://npm.io/package/@ably/msgpack-js

## Dependencies (1)

- [bops](https://npm.io/package/bops.md) ^1.0.1

## Recent versions

- 0.4.1 (latest) — 2025-07-22
- 0.4.0 — 2021-05-13
- 0.3.4 — 2020-11-30
- 0.3.3 — 2020-05-18
- 0.3.2-v5 — 2018-09-10

## README

# msgpack-js

This is a second-generation fork of msgpack-js.

Original version: [creationix/msgpack-js](https://github.com/creationix/msgpack-js)

First fork: [chakrit/msgpack-js](https://github.com/chakrit/msgpack-js), porting to msgpack v5

Second fork: [paddybyers](https://github.com/paddybyers/) at [ably-forks/msgpack-js](https://github.com/ably-forks/msgpack-js), adding a 'sparse' encoding option, updating buffer handling, adding some extra guards and safety checks, and other fixes.

## Installing

```sh
$ npm i @ably/msgpack-js
```

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