3 ms·
Parsing url is difficult and prone to errors. How $.url() compares to furl? There are two furl(s) on github: (1) https://github.com/stricaud/furl https://githu
by adulau 14y ago
Parsing url is difficult and prone to errors. How $.url() compares to furl? There are two furl(s) on github:
(1) https://github.com/stricaud/furl https://github.com/stricaud/furl
and
(2) https://github.com/gruns/furl https://github.com/gruns/furl
furl(1) seems to handle a lot of edge cases when the URL is containing an IPv4/IPv6 address or when the URL is partial (e.g. without the protocol). furl(1) aims is to be fast. furl(2) seems to be more flexible and used for inline modification of the URL.
- stricaud 14y agoI actually renamed the furl project into faup, for 'Finally An Url Parser' ;-) That should solve the problem. API and command line tool will follow.