Skip to content

Implement URLSearchParams #18

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
CGenie opened this issue Jun 1, 2023 · 1 comment
Closed

Implement URLSearchParams #18

CGenie opened this issue Jun 1, 2023 · 1 comment

Comments

@CGenie
Copy link

CGenie commented Jun 1, 2023

https://nodejs.org/api/url.html#class-urlsearchparams

We currently have Query as a very thin wrapper around nodejs querystring:

https://github.com/purescript-node/purescript-node-url/blob/v6.0.0/src/Node/URL.js#L2

Apparently this is legacy in the API:

https://nodejs.org/api/url.html#legacy-urlobject

It would be useful to implement URLSearchParams especially that I can't find anything for query manipulation on Pursuit. Query is bit tricky: there is URL escaping and whatnot. And it's often necessary when writing frontends that make requests for the backend.

@JordanMartinez
Copy link
Contributor

Fixed in #20.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants