URL.js
Manipluate URI parts in browser based Javascript
Installation
You can use with an AMD loader or vanilla javascript.
Dowload
You can directly download the Development Version or the Production Version from the root folder
BOWER
$ bower install URL.js
JAM
$ jam install URL.js
Integration
AMD
// AMD
require(['path/to/URL.js'], function (URL) {
// URL.parse('http://...');
});
Vanilla JS
<!-- Vanilla javascript -->
<script src="path/to/URL.js"></script>
<script>
console.log(URL.parse('http://...');
</script>