Re: [whatwg/url] Consider adding a constructor to make a URL from parts (#354)

I think the URL standard is dearly lacking the inverse operation of the `URL` constructor. It's like having a parser without an encoder. It's only half of the deal.

There are many user cases where one wants to build a URL step-by-step, on both client and server-side. Take for example [this module](https://github.com/watson/original-url/blob/master/index.js).

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/url/issues/354#issuecomment-510209531

Received on Wednesday, 10 July 2019 20:08:55 UTC