3 ms·
Show HN: I built a url builder library for JavaScript
A couple of days ago on a Whatsapp group chat with couple of my friends, we were talking about urls, http methods etc when I realized that sometime in the past I had experienced issues building urls so I just created this to satisfy that itch plus it seemed like a cool side project.
All suggestions are incredibly welcome
- gpas 4y agoI've been using the standard interface[0] to handle URLs, is this better? [0] https://developer.mozilla.org/en-US/docs/Web/API/URL https://developer.mozilla.org/en-US/docs/Web/API/URL
- ikeohachidi 4y agoHey, yes I believe it does in some ways. Eg with the `setParam`, `setQuery` methods and also with the addition of placeholders to easily change url paths. I'm open to suggestions and criticism if you have any btw.