Have ideas to improve npm?Join in the discussion! »

    http-traceroute

    1.7.4 • Public • Published

    http-traceroute

    A command line tool for following and showing HTTP redirects for a given URL. Similar to the traceroute unix tool.

    screen shot 2016-02-22 at 12 43 13

    Build status js-standard-style

    Installation

    Install globally as a CLI:

    npm install http-traceroute -g
    

    Install as a module:

    npm install --save http-traceroute
    

    CLI Usage

    http-traceroute [url]
    

    Module Usage

    var TraceRoute = require('http-traceroute')
    var trace = new TraceRoute('https://github.com')
     
    trace.on('readable', function () {
      var hop = null
      while (hop = this.read()) {
        console.log(hop)
      }
    })
     
    trace.once('error', function () {})
    trace.once('end', function () {})

    License

    MIT

    Install

    npm i http-traceroute

    DownloadsWeekly Downloads

    10

    Version

    1.7.4

    License

    MIT

    Last publish

    Collaborators

    • avatar
    • avatar