username

abstract val username: String

URL: username

From MDN: "The username property of the URL interface is a string containing the username specified before the domain name."

 

Notes & further reading

Example value:

const url = new URL("https://hello:cool@elide.dev/?one=two#hello");
url.username;
← "hello"