# aedes-packet

> Basic data structure for packets in Aedes

Latest version **4.0.1** (published 2026-06-25) · MIT license · 0 weekly downloads

## Install

```sh
npm install aedes-packet
pnpm add aedes-packet
yarn add aedes-packet
bun add aedes-packet
```

## Health

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

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

Warnings: low downloads; no esm support.

## Facts

| | |
|---|---|
| Version | 4.0.1 |
| Published | 2026-06-25 |
| First published | 2015-11-29 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Node | >=20 |
| Dependencies | 1 |
| Unpacked size | 13 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 12 |
| Author | Matteo Collina |
| Maintainers | matteo.collina, roberts_lando |
| Keywords | mqtt, packet, broker, aedes |

## Links

- npm: https://www.npmjs.com/package/aedes-packet
- Repository: https://github.com/moscajs/aedes-packet
- Homepage: https://github.com/moscajs/aedes-packet#readme
- Issues: https://github.com/moscajs/aedes-packet/issues
- npm.io page: https://npm.io/package/aedes-packet

## Dependencies (1)

- [mqtt-packet](https://npm.io/package/mqtt-packet.md) ^9.0.0

## Recent versions

- 4.0.1 (latest) — 2026-06-25
- 4.0.0 — 2026-06-25
- 3.0.0 — 2022-05-04
- 2.3.1 — 2020-02-14
- 2.3.0 — 2020-02-11
- 2.2.0 — 2020-02-11
- 2.1.0 — 2019-07-28
- 2.0.0 — 2019-07-15
- 1.0.0 — 2015-11-29

## README

<!-- markdownlint-disable MD013 MD024 -->
# aedes-packet

![ci](https://github.com/moscajs/aedes-packet/workflows/ci/badge.svg)
[![Known Vulnerabilities](https://snyk.io/test/github/moscajs/aedes-packet/badge.svg)](https://snyk.io/test/github/moscajs/aedes-packet)
[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat)](http://standardjs.com/)\
[![Dependencies Status](https://david-dm.org/moscajs/aedes-packet/status.svg)](https://david-dm.org/moscajs/aedes-packet)
[![devDependencies Status](https://david-dm.org/moscajs/aedes-packet/dev-status.svg)](https://david-dm.org/moscajs/aedes-packet?type=dev)\
[![NPM version](https://img.shields.io/npm/v/aedes-packet.svg?style=flat)](https://www.npmjs.com/package/aedes-packet)
[![NPM downloads](https://img.shields.io/npm/dm/aedes-packet.svg?style=flat)](https://www.npmjs.com/package/aedes-packet)

Basic data structure for packets in [Aedes](https://www.npmjs.com/aedes), packaged up for perf and reusability between modules.

See [./packet.js](./packet.js) and [./test.js](./test.js) for
documentation and usage.

## Collaborators

* [__Gnought__](https://github.com/gnought)

## License

MIT

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