Security News
Node.js EOL Versions CVE Dubbed the "Worst CVE of the Year" by Security Experts
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
@nats-io/transport-node
Advanced tools
Node.js client for NATS, a lightweight, high-performance cloud native messaging system
A Node.js transport for the NATS messaging system.
This module implements a Node.js native TCP transport for NATS. This library re-exports NATS core library which implements all basic NATS client functionality. This library is compatible with Bun.
npm install @nats-io/transport-node
# or
bun install @nats-io/transport-node
You can then import the connect
function to connect using the node transport
like this:
import { connect } from "@nats-io/transport-node";
To use NATS JetStream, NATS KV, NATS Object Store, or the NATS Services functionality you'll need to install the desired modules as described in each of the modules README files.
This module simply exports a
connect()
function that
returns a NatsConnection
supported by a Nodejs TCP socket. This library
re-exports all the public APIs for the core module. Please
visit the core module for examples on how to use a connection or refer to the
JSDoc documentation.
Our support policy for Nodejs versions follows Nodejs release support. We will support and build node-nats on even-numbered Nodejs versions that are current or in LTS.
FAQs
Node.js client for NATS, a lightweight, high-performance cloud native messaging system
We found that @nats-io/transport-node demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.