Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/kd_clients/mod.ts>UsersClient#getUser

Various HTTP clients for miscellaneous use.
Latest
method UsersClient.prototype.getUser
import { UsersClient } from "https://deno.land/x/kd_clients@v1.0.0-preview.14/mod.ts";

Gets a user that matches the given userName.

Parameters

userName: string

The name of the user.

Returns

Promise<UserModel>

The user.