The URL module has utilities for URL resolution and parsing.
$ volo add anchorjs/url
For more information on using volo to manage JavaScript modules, visit http://volojs.org/.
To run tests in a browser, execute the Make target for the desired browser:
$ make test-chrome
$ make test-firefox
$ make test-safari
To run headless tests from a terminal using PhantomJS:
$ make test-phantomjs
This module conforms to the interface exported by Node's URL module.
Copyright (c) 2012 Jared Hanson <http://jaredhanson.net/> Copyright Joyent, Inc. and other Node contributors.