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 problem or suggestion please open an issue here. Pull requests are welcomed with respect to the JavaScript Code Style.
cjs-uri
is released under the MIT License.