# msgpack/msgpack-javascript

@msgpack/msgpack - MessagePack for JavaScript / msgpack.org[ECMA-262/JavaScript/TypeScript]

Repository: https://github.com/msgpack/msgpack-javascript
Canonical: https://ross.abutalabs.com/products/msgpack-javascript
Homepage: https://msgpack.org/
Language: TypeScript
License: ISC
License Family: permissive
Topics: msgpack, javascript-library, typescript-library, messagepack, universal-javascript, deno-library, serialization-library
Last push: 2026-07-13T00:12:44+00:00

## Health v2 (maintenance only)
Score: 83/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 92, release rhythm 63, longevity 100
- inputs: {"age_days": 5408, "days_push": 52, "days_rel": 250, "gap_med": 18, "n_releases_24m": 6}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1556, forks 180 (observed 2026-08-28T04:05:03.199918+00:00)

## What it is
A TypeScript/JavaScript implementation of MessagePack, a compact binary serialization format, serving as the reference implementation for JavaScript. It provides encode/decode APIs that work universally across browsers, Node.js, and other ES2015+ JavaScript engines.

## Use cases
- serialize objects to a compact binary format in JavaScript
- replace JSON with a faster smaller encoding for API payloads
- encode and decode MessagePack data in Node.js or the browser
- decode MessagePack from a stream asynchronously
- exchange binary data between JavaScript and other languages
- round-trip TypeScript objects with typed arrays and timestamps

## When to choose
- you need a fast, compact binary alternative to JSON in JavaScript or TypeScript
- you need interoperability with MessagePack implementations in other languages
- you need a universal library that runs in browsers, Node.js, and Deno with bundled type definitions

## When to avoid
- you need human-readable serialization for debugging or config files
- your payloads are small and JSON performance is not a concern
- you need schema-based serialization like Protocol Buffers

## Facets
- artifact type: library
- maturity: stable
- function: serialization
- domain: developer-tools, web-development, apis
- platform: browser, cross-platform
- tags: msgpack, typescript, binary-format, universal-javascript, nodejs, deno

## Member repositories
- msgpack/msgpack-javascript (main) score 83

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:03.199918+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:29:59.371872+00:00, confidence not recorded.
  - readme: https://github.com/msgpack/msgpack-javascript (fetched 2026-08-28T04:05:03.199918+00:00, sha d07d55fa9483)
  - homepage: https://msgpack.org/ (fetched 2026-08-29T11:30:21.072596+00:00, sha 064379d9a34c)
- Data as of 2026-08-30T08:39:29.467469+00:00.
