Re:URI.js is a facility for working with URLs
by dbloom on Wednesday December 28, 2011 @11:08AM
(#3400193)
You can do a lot of URI parsing without a library at all -- it's built into the DOM of every browser, even IE6.
[ Parent
| on HN ]
Re:URI.js is a facility for working with URLs
by rodneyrehm on Wednesday December 28, 2011 @11:13AM
(#3400210)
That is noted in README.md of URI.js - you can also find a (very simple) performance comparison here: http://jsperf.com/idl-attributes-vs-uri-js
Does the IDL stuff work in non-browser Javascript (like node.js)?
Re:URI.js is a facility for working with URLs
by dbloom on Wednesday December 28, 2011 @12:24PM
(#3400498)
Node has http://nodejs.org/docs/latest/api/url.html built-in.
URI.js could be really useful for developers building web apps that need to do a lot of URL parsing or manipulation. But developers who only need basic functionality outside of performance-critical loops would probably be better off using built-in functionality.