One library that can parse GET params is this one.
https://www.npmjs.com/package/express-query-parser
Its source code:
https://github.com/jackypan1989/express-query-parser/tree/master