Kilian Valkhof personal blog

The problem with new URL(), and how URL.parse() fixes that

As someone building a browser I need to parse a lot of URLs. Partially to validate them, but also to normalize them or get specific parts out of the URL. The URL API in browsers lets you do that, but it’s ergonomics aren’t ideal. The problem with new URL() The “new” in front of new […]
Points
130
HN comments
171
Submissions
1
Cited by
0 commenters

Web & FrontendSoftware Engineering2024

On Hacker News

SubmittedTitle on HNPointsComments
May 19, 2024The problem with new URL(), and how URL.parse() fixes that by fagnerbrack130171

More from Kilian Valkhof

All 6 posts →

Related posts from the same era