Normalize the URL, resolving '..' and '.' segments and multiple '/'s into '//' after protocol and remaining into '/'.
URL
'..'
'.'
'/'
'//'
Please provide a reason for reporting this package. We will review your report and take appropriate action.
Please review the JSR usage policy before submitting a report.
Add Package
deno add jsr:@std/url
Import symbol
import * as mod from "@std/url/normalize";
Import directly with a jsr specifier
import * as mod from "jsr:@std/url/normalize";