A Deno transport for the NATS messaging system.
This module implements a Deno native TCP transport for the NATS. This library re-exports NATS core library which implements all basic NATS client functionality.
You can get the latest release version like this:
import * as nats from "jsr:@nats-io/nats-transport-deno";
To specify a specific released version, simply replace nats with nats@versionTag.
You can get the version in the main branch by:
import * as nats from "https://raw.githubusercontent.com/nats-io/nats.deno/main/src/types.ts";
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 Deno 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.