So I have a url with this format . :
https://my-app.com/my-route/someOtherRoute#register?param1="122"¶m2="333"
I know how to get the query strings for a normal url but I was not able to get query strings which come after #
I using node-url and I did this so far :
import * as urlTool from 'url';
const url = "https://my-app.com/my-route/someOtherRoute#register?param1="122"¶m2="333"
const parsedUrl = urlTool.parse(url,true);
const { pathName, hash } = parsedUrl
So upto now, my hash have this value #register?param1="122"¶m2="333" but how can I get the query strings in a dynamic way, because the query strings may, or may not be there all the time, and I don't know the name of them as well, how can I get any query strings which may be come after the # in a url?