Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

nkeys.createPair

import { nkeys } from "https://raw.githubusercontent.com/nats-io/nats.deno/v1.28.2/nats-base-client/internal_mod.ts"; 

const { createPair } = nkeys;
function createPair(prefix: Prefix): KeyPair;
§
createPair(prefix: Prefix): KeyPair
[src]

§Parameters

§Return Type