🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

parsed-url

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

parsed-url

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

0.0.0
latest
Source
npm
Version published
Maintainers
1
Created
Source

parsed-url

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.

Install

npm install parsed-url

API

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.

License

MIT License

Keywords

parsed

FAQs

Package last updated on 20 Jul 2013

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts