xurl

0.0.1 • Public • Published

xURL

Build Status

usage:

var xURL = require('xurl');
xURL('http://www.google.com:8080/index.html?qs#hash');
 
/* returns:
{
  "protocol": "http:",
  "host": "www.google.com:8080",
  "hostname": "www.google.com",
  "port": "8080",
  "pathname": "/index.html",
  "search": "?qs",
  "hash": "#hash",
  "href": "http://www.google.com:8080/index.html?qs#hash"
}
*/

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.1
    0
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.1
    0
  • 0.0.0
    1

Package Sidebar

Install

npm i xurl

Weekly Downloads

1

Version

0.0.1

License

MIT

Last publish

Collaborators

  • kolodny