# http-traceroute

> A command line tool for following and showing HTTP redirects for a given URL

Latest version **1.7.4** (published 2017-05-30) · MIT license · 0 weekly downloads

## Install

```sh
npm install http-traceroute
pnpm add http-traceroute
yarn add http-traceroute
bun add http-traceroute
```

Provides the command `http-traceroute`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.7.4 |
| Published | 2017-05-30 |
| First published | 2016-01-28 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 5 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 60 |
| Author | Thomas Watson Steen |
| Maintainers | jhermsmeier, watson |
| Keywords | cli, tool, redirect, 301, 303, 307, http, follow, trace, traceroute |

## Links

- npm: https://www.npmjs.com/package/http-traceroute
- Repository: https://github.com/watson/http-traceroute
- Homepage: https://github.com/watson/http-traceroute#readme
- Issues: https://github.com/watson/http-traceroute/issues
- npm.io page: https://npm.io/package/http-traceroute

## Dependencies (5)

- [spdy](https://npm.io/package/spdy.md) ^3.4.4
- [chalk](https://npm.io/package/chalk.md) ^1.1.3
- [normalize-url](https://npm.io/package/normalize-url.md) ^1.9.0
- [cookie-manager](https://npm.io/package/cookie-manager.md) ^0.0.16
- [readable-stream](https://npm.io/package/readable-stream.md) ^2.2.6

## Alternatives

- [launchdarkly-js-client-sdk](https://npm.io/package/launchdarkly-js-client-sdk.md) — 2.5M weekly downloads
- [@elastic/elasticsearch](https://npm.io/package/@elastic/elasticsearch.md) — 2.1M weekly downloads
- [@c8y/client](https://npm.io/package/@c8y/client.md) — 15.3K weekly downloads
- [@signaldb/maverickjs](https://npm.io/package/@signaldb/maverickjs.md) — 1.7K weekly downloads
- [@bbc/http-transport-cache](https://npm.io/package/@bbc/http-transport-cache.md) — 1.2K weekly downloads

## Recent versions

- 1.7.4 (latest) — 2017-05-30
- 1.7.3 — 2017-05-29
- 1.7.2 — 2017-04-27
- 1.7.1 — 2017-04-27
- 1.7.0 — 2017-03-24
- 1.6.1 — 2016-04-29
- 1.6.0 — 2016-02-22
- 1.5.0 — 2016-02-20
- 1.4.1 — 2016-02-11
- 1.4.0 — 2016-02-11
- 1.3.0 — 2016-02-11
- 1.2.0 — 2016-02-03
- 1.1.1 — 2016-02-03
- 1.1.0 — 2016-01-28
- 1.0.0 — 2016-01-28

## README

# 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](https://cloud.githubusercontent.com/assets/10602/13217317/ec317342-d961-11e5-9810-9773569387e0.png)

[![Build status](https://travis-ci.org/watson/http-traceroute.svg?branch=master)](https://travis-ci.org/watson/http-traceroute)
[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat)](https://github.com/feross/standard)

## 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

```js
var TraceRoute = require('http-traceroute')
```

```js
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

---
_Source: https://npm.io/package/http-traceroute · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
