parsed-url

0.0.0 • Public • Published

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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.0
    80
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.0
    80

Package Sidebar

Install

npm i parsed-url

Weekly Downloads

73

Version

0.0.0

License

MIT

Last publish

Collaborators

  • mikolalysenko