WMURL.js
URL parse and build.
Document
How to use
Browser
<script src="lib/WMURL.js"></script>
<script>
console.log( WMURL.parse(location.href) );
</script>
WebWorkers
importScripts("lib/WMURL.js");
console.log( WMURL.parse(location.href) );
Node.js
var WMURL = require("lib/WMURL.js");
console.log( WMURL.parse("http://example.com") );