function basicAuthorization basicAuthorization(username: string,password: string): string The value of a Basic Authorization header. Examples Build the header import { assertEquals } from "@std/assert"; import { basicAuthorization } from "./basic-authorization.ts"; assertEquals(basicAuthorization("admin", "hunter2"), "Basic YWRtaW46aHVudGVyMg=="); Parameters username: string The user name. password: string The password. Return Type string Basic followed by the base64 of username:password.