Socket.IO MessagePack Parser
JSON →This package offers an alternative parser for Socket.IO, utilizing the MessagePack format for efficient binary serialization of data instead of the default JSON-based parser. Its primary goal is to minimize message sizes, which is particularly advantageous for applications with high message throughput, though it results in a slightly larger browser bundle (an additional 7.5 KB minified, 3.0 KB gzipped). The current stable version is 3.0.2, which includes TypeScript definitions. The project maintains close compatibility with Socket.IO's protocol versions, requiring a matching parser version on both the server and client (e.g., parser 3.x with Socket.IO 3.x/4.x). This parser differentiates itself by providing a binary-optimized transport layer, a key contrast to the standard `socket.io-parser` and `socket.io-json-parser`.
Traffic · last 30 days ↓90% vs prev 7d
top countries 🇺🇸 United States · 🇨🇦 Canada · 🇬🇧 United Kingdom · 🇩🇪 Germany