Parse Auth0 user query string

Hi there,

I am using the Auth0 Management API in my application and we are currently in the process of implementing integration test cases for the backend. As part of my tests, I need to mock various libraries, Auth0 being one of them. During my mock of the getUsers call, I am having some difficulties parsing the query string sent as part of the request.

I have tried to find the library that Auth0 uses to parse through the query string so that I may use this in my mock library, however I cannot find this anywhere. I could create my own parser for this based off of the User Query Syntax, however that would be a bunch of work that I really don’t want to do.

Would anyone be able to point me in the direction of the correct library/parser to use for this?

Thanks,

Chris