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

parseAuth

It takes a string of the form username:password and returns an object with the username and password decoded

function parseAuth(input?: string): ParsedAuth;
§
parseAuth(input?: string): ParsedAuth
[src]

§Parameters

§
input?: string optional
[src]

§Return Type

§

An object with two properties: username and password.