All Projects → watson → http-traceroute

watson / http-traceroute

Licence: MIT license
A command line tool for following and showing HTTP redirects for a given URL

Programming Languages

javascript
184084 projects - #8 most used programming language

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.on('error', function () {})
trace.on('end', function () {})

License

MIT

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].