url module

The url module provides the URL parsing utilities.

A URL string is a structured string that contains multiple meaningful components. When the URL string is parsed, a URL object that contains properties for each of these components is returned. The url module has utilities for URL parsing and provides two types of APIs for working with URLs.