New Powerful Machines

    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"
    }
    */

    Keywords

    Install

    npm i xurl

    DownloadsWeekly Downloads

    2

    Version

    0.0.1

    License

    MIT

    Last publish

    Collaborators

    • kolodny