Node.js Unix Socket Extensions

JSON →
library 0.2.7 ·javascript
verified May 27, 2026

node-unix-socket is a Node.js addon, built with napi-rs and leveraging libuv, that extends Node.js's native networking capabilities to support Unix `SOCK_SEQPACKET` and `SOCK_DGRAM` sockets. It also enables the use of `SO_REUSEPORT` for TCP `net.Server` instances, offering an alternative to Node.js's built-in `cluster` module for load balancing, with kernel-level distribution. The package is currently at version 0.2.7, indicating ongoing development. It differentiates itself by providing these advanced socket types without introducing additional asynchronous runtimes, relying solely on Node.js's internal libuv. Pre-compiled binaries are shipped for common platforms, reducing the need for compilation environments. This library is particularly useful for inter-process communication patterns requiring message boundary preservation (seqpacket) or connectionless datagram communication, as well as optimizing high-throughput TCP servers. While release cadence isn't explicitly stated, its focus on specific, low-level features suggests a stable, less frequent update cycle unless major Node.js changes necessitate it.

total hits 14
actors 5 distinct systems
last hit 2d ago human
GPTBot
2
Script
1
ClaudeBot
1
Humans
4

top countries 🇺🇸 United States · 🇨🇦 Canada · 🇫🇷 France · VN · BD