Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
function nkeys.createUser
import { nkeys } from "https://deno.land/x/natsws@v1.28.0/src/nats-base-client.ts";
const { createUser } = nkeys;

Creates a KeyPair with an user prefix

Returns

Returns the created KeyPair.