- From: Viktor Kuroljov <notifications@github.com>
- Date: Tue, 02 Jul 2019 02:50:30 -0700
- To: whatwg/url <url@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Tuesday, 2 July 2019 09:50:57 UTC
Hello, everyone! I've implemented `URL.from` over in Node.js project ([PR](https://github.com/nodejs/node/pull/28482)), but we have a discussion there on to should we extend `URL` object or not. Good points are made for not doing so. However, it feels like it would be convenient to have an option of creating a url object not only from string that should represent a url, but also from an object (or any other alternative according to any language) allowing builder pattern.Also it can be much faster than parsing the string. I guess it would be a nice option in the browsers as well since making a url from an object-config is as common as making a url from string. -- 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/443
Received on Tuesday, 2 July 2019 09:50:57 UTC