Skip to content

Latest commit

 

History

History
40 lines (29 loc) · 1.68 KB

README.md

File metadata and controls

40 lines (29 loc) · 1.68 KB

NATS Deno Transport - A NATS client for Deno

A Deno transport for the NATS messaging system.

License Test NATS.deno Coverage Status

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.

Installation

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.codeproxy.net/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.