Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/natsws/src/mod.ts>nkeys

WebSocket NATS
Go to Latest
namespace nkeys
import { nkeys } from "https://deno.land/x/natsws@v1.29.0/src/mod.ts";

Enums

Possible error codes on exceptions thrown by the library.

Functions

Creates a KeyPair with an account prefix

Creates a KeyPair with an operator prefix

Creates a KeyPair with an user prefix

Decode a base64 encoded string to a binary Uint8Array

Encode binary data to a base64 string

Creates a KeyPair from a specified public key

Creates a KeyPair from a specified seed.