import { parse } from "https://deno.land/std@0.177.0/node/url.ts";
The url.urlParse() method takes a URL string, parses it, and returns a URL object.
Parameters
url: string | Url
The URL string to parse.
If true
, the query property will always be set to an object returned by the querystring module's parse() method. If false,
the query property on the returned URL object will be an unparsed, undecoded string. Default: false.