
Lax url.parse() with support for protocol-less URLs & IPs
The url.parse() method takes a URL string, parses it, and returns a URL object. A TypeError is thrown if urlString is not a string. A URIError is thrown if the auth property is present but cannot be decoded.
Node.js is an event-based server-side JavaScript engine.