New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@nats-io/transport-node

Package Overview
Dependencies
Maintainers
0
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nats-io/transport-node

Node.js client for NATS, a lightweight, high-performance cloud native messaging system

  • 3.0.0-34
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
0
Created
Source

NATS Node Transport - A NATS client for Node.Js

A Node.js transport for the NATS messaging system.

License transport-node JSDoc

NPM Version NPM Downloads NPM Downloads

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.

Installation

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.

Supported Node Versions

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.

Keywords

FAQs

Package last updated on 17 Jan 2025

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc