Module to parse location URLs.
npm install cjs-uri
Add to the scope:
var parse = require('cjs-uri').parse;
Parse current location:
console.log(parse(document.location.href));
If you have any problems or suggestions please open an issue according to the contribution rules.
cjs-uri
is released under the MIT License.