# 301

> A super simple HTTP redirect server

Latest version **1.1.1** (published 2015-09-03) · MIT license · 0 weekly downloads

## Install

```sh
npm install 301
pnpm add 301
yarn add 301
bun add 301
```

Provides the command `301`.

## 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.1.1 |
| Published | 2015-09-03 |
| First published | 2015-01-21 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 (+2 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 3 |
| Author | Mark Wilkerson |
| Maintainers | markhuge |

## Links

- npm: https://www.npmjs.com/package/301
- Repository: https://github.com/markhuge/301-node
- Issues: https://github.com/markhuge/301-node/issues
- npm.io page: https://npm.io/package/301

## Dependencies (1)

- [minimist](https://npm.io/package/minimist.md) 1.1.0

## Recent versions

- 1.1.1 (latest) — 2015-09-03
- 1.1.0 — 2015-01-23
- 1.0.0 — 2015-01-21
- 0.2.0 — 2015-01-21
- 0.1.0 — 2015-01-21

## README

# 301
A super simple HTTP redirection server

## Install

`npm install -g 301`

## Usage 

`user@host:$ 301 --port 8080 --domain myshiz.biz `

### Optional Arguments

- port - port service will listen on (default 8080)
- domain - domain requests will redirect to (default 127.0.0.1)
- proto - protocol HTTP or HTTPS (default HTTP)
- health - optional port on which to listen for a health check (default is disabled). Handy for load balancers that will only accept a "200" response to keep 301 instance(s) in load.

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