No, there will be no hash in the URL sent from the client to the server as part of the HTTP request.
But this is not the only case when Node will need to manipulate URLs. You could write server-side code to create a URL that will be inserted into the HTML code sent back to the client (for example, you can have a list of hyperlinks and generate URLs for these hyperlinks).
For this reason, for Node, the URL API makes sense to be complete, even if one part of the URL is not present in one common use case.
Joe white
source share