js-url

A simple, lightweight url parser for JavaScript (~1.7 Kb minified, ~0.7Kb gzipped).

urljs-url

https://github.com/websanova/js-url