# minecraft-protocol

> Parse and serialize minecraft packets, plus authentication and encryption.

Latest version **1.68.0** (published 2026-08-27) · BSD-3-Clause license · 0 weekly downloads

## Install

```sh
npm install minecraft-protocol
pnpm add minecraft-protocol
yarn add minecraft-protocol
bun add minecraft-protocol
```

## Health

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

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

Warnings: low downloads; no esm support.

## Facts

| | |
|---|---|
| Version | 1.68.0 |
| Published | 2026-08-27 |
| First published | 2013-01-02 |
| Weekly downloads | 0 |
| License | BSD-3-Clause |
| TypeScript types | bundled |
| Module format | CommonJS |
| Node | >=22 |
| Dependencies | 19 |
| Unpacked size | 320.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 1414 |
| Author | Andrew Kelley |
| Maintainers | rom1504, dcbartlett, mappum, superjoe, zuazo, wtfaremyinitials, roblabla |
| Keywords | minecraft, protocol, parse, serialize, packet, authentication, encrypton, bot |

## Links

- npm: https://www.npmjs.com/package/minecraft-protocol
- Repository: https://github.com/PrismarineJS/node-minecraft-protocol
- Homepage: https://github.com/PrismarineJS/node-minecraft-protocol#readme
- Issues: https://github.com/PrismarineJS/node-minecraft-protocol/issues
- npm.io page: https://npm.io/package/minecraft-protocol

## Dependencies (19)

- [debug](https://npm.io/package/debug.md) ^4.3.2
- [aes-js](https://npm.io/package/aes-js.md) ^3.1.2
- [node-rsa](https://npm.io/package/node-rsa.md) ^0.4.2
- [protodef](https://npm.io/package/protodef.md) ^1.17.0
- [uuid-1345](https://npm.io/package/uuid-1345.md) ^1.0.1
- [yggdrasil](https://npm.io/package/yggdrasil.md) ^1.4.0
- [node-fetch](https://npm.io/package/node-fetch.md) ^2.6.1
- [buffer-equal](https://npm.io/package/buffer-equal.md) ^1.0.0
- [lodash.merge](https://npm.io/package/lodash.merge.md) ^4.3.0
- [endian-toggle](https://npm.io/package/endian-toggle.md) ^0.0.0
- [minecraft-data](https://npm.io/package/minecraft-data.md) ^3.109.0
- [prismarine-nbt](https://npm.io/package/prismarine-nbt.md) ^2.5.0
- [@types/node-rsa](https://npm.io/package/@types/node-rsa.md) ^1.1.4
- [prismarine-auth](https://npm.io/package/prismarine-auth.md) ^3.1.1
- [prismarine-chat](https://npm.io/package/prismarine-chat.md) ^1.10.0
- [readable-stream](https://npm.io/package/readable-stream.md) ^4.1.0
- [prismarine-realms](https://npm.io/package/prismarine-realms.md) ^1.2.0
- [minecraft-folder-path](https://npm.io/package/minecraft-folder-path.md) ^1.2.0
- [@types/readable-stream](https://npm.io/package/@types/readable-stream.md) ^4.0.0

## Alternatives

- [babylon](https://npm.io/package/babylon.md) — 5.1M weekly downloads
- [csscolorparser](https://npm.io/package/csscolorparser.md) — 3.7M weekly downloads
- [expr-eval-fork](https://npm.io/package/expr-eval-fork.md) — 1.5M weekly downloads
- [@leeoniya/ufuzzy](https://npm.io/package/@leeoniya/ufuzzy.md) — 247.7K weekly downloads
- [xml-parser](https://npm.io/package/xml-parser.md) — 78.4K weekly downloads

## Recent versions

- 1.68.0 (latest) — 2026-08-27
- 1.67.0 — 2026-08-16
- 1.66.2 — 2026-05-13
- 1.66.1 — 2026-05-04
- 1.66.0 — 2026-04-01
- 1.65.0 — 2026-03-30
- 1.64.1 — 2026-03-28
- 1.64.0 — 2026-02-13
- 1.63.0 — 2026-01-26
- 1.62.0 — 2025-09-07
- 1.61.0 — 2025-08-17
- 1.60.1 — 2025-08-05
- 1.60.0 — 2025-08-02
- 1.59.0 — 2025-08-02
- 1.58.0 — 2025-07-01
- … 179 more at https://npm.io/package/minecraft-protocol/versions

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