Short cut to get a parsed url and query string in browserify

npm install parsed-url
1 downloads in the last week
9 downloads in the last month


This incredibly trivial module is just a shortcut for:

require("url").parse(window.location.href, true)

By requiring it you automatically get a completely parsed version of the URL that you can use in your document.


npm install parsed-url


var url = require("parsed-url")

The object url is a representation of the window's location as a parsed url object. The properties of this object are consistent with node.js' core URL module.


MIT License

npm loves you