# @polywrap/msgpack-js

> WRAP MsgPack Encoding

Latest version **0.12.2** (published 2023-08-21) · MIT license · 0 weekly downloads

## Install

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

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.12.2 |
| Published | 2023-08-21 |
| First published | 2022-07-06 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 13.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 3 |
| Maintainers | polywrap-build-bot, dorgjelli |

## Links

- npm: https://www.npmjs.com/package/@polywrap/msgpack-js
- Repository: https://github.com/polywrap/javascript-client
- npm.io page: https://npm.io/package/@polywrap/msgpack-js

## Dependencies (1)

- [@msgpack/msgpack](https://npm.io/package/@msgpack/msgpack.md) 2.7.2

## Recent versions

- 0.12.2 (latest) — 2023-08-21
- 0.12.0-pre.1 (pre) — 2023-07-12
- 0.12.1 — 2023-08-20
- 0.12.0 — 2023-07-26
- 0.11.0 — 2023-06-27
- 0.10.1 — 2023-04-29
- 0.10.0 — 2023-04-14
- 0.10.0-pre.14 — 2023-04-13
- 0.9.7 — 2023-03-28
- 0.10.0-pre.13 — 2023-03-18
- 0.10.0-pre.12 — 2023-03-14
- 0.10.0-pre.11 — 2023-03-06
- 0.10.0-pre.10 — 2023-03-01
- 0.9.6 — 2023-02-19
- 0.10.0-pre.8 — 2023-02-16
- … 24 more at https://npm.io/package/@polywrap/msgpack-js/versions

## README

# @polywrap/msgpack-js

TypeScript / JavaScript implementation of the WRAP MsgPack encoding standard.

## Usage

```typescript
import { msgpackEncode, msgpackDecode } from "@polywrap/msgpack-js";

const test = {
  foo: 5,
  bar: [true, false],
  baz: {
    prop: "value"
  }
};

const encoded: Uint8Array = msgpackEncode(test);

const decoded = msgpackDecode(encoded);

expect(decoded).toEqual(test);
```

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