url

About node's url package.

format

url.format

  • protocol e.g. http / https
  • pathname e.g. /foo/bar/bin
  • hostname e.g. localhost
  • port e.g. 1337
  • query e.g. { foo: 'bar' }
const url = require('url')

results matching ""

    No results matching ""