There have been many remarkable inquiries regarding this topic, such as: how to parse a url.
However, as time has gone by, the answers I come across are outdated. I am looking for a more modern and flexible method to parse URLs, without relying on regular expressions or creating HTML nodes as parsing helpers. I'm interested in new built-in methods or innovative ES6 libraries that offer a simpler way to achieve this.
Can you provide any recommendations or suggestions? Thank you.