Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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

and

(2) 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.



I actually renamed the furl project into faup, for 'Finally An Url Parser' ;-) That should solve the problem. API and command line tool will follow.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: