Although the URL fragment isn't defined explicitly as a key-value pair, there are times where it may be, for instance during the [OAuth2 Implicit Grant](https://tools.ietf.org/html/rfc6749#section-4.2) or the [OpenID Connect Hybrid Flow](https://openid.net/specs/openid-connect-core-1_0.html#HybridFlowAuth).
We can use the `url` module to actually parse our URL out, and then the `querystring` module to extract the key-value parameters for the fragment, instead of hand-rolling our own:
Also note that yes, this should be received by your browser, not by some Node code which runs on the backend, but for the purpose I've been testing it with, the Node code for it was important.