# sepro

> Sepro is a http proxy which discovers where to proxy a request.

Latest version **0.0.17** (published 2013-12-10) · MIT license · 0 weekly downloads

## Install

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

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.17 |
| Published | 2013-12-10 |
| First published | 2012-08-25 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 11 |
| Known vulnerabilities | 0 (+9 in 6 direct dependencies) |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Christain Tellnes |
| Maintainers | tellnes |
| Keywords | http, proxy, http-proxy, apache, haibu, seaport, couchdb, sticky, cookie |

## Links

- npm: https://www.npmjs.com/package/sepro
- Repository: https://github.com/tellnes/sepro
- Issues: https://github.com/tellnes/sepro/issues
- npm.io page: https://npm.io/package/sepro

## Dependencies (11)

- [ini](https://npm.io/package/ini.md) ~1.1.0
- [debug](https://npm.io/package/debug.md) ~0.7.0
- [track](https://npm.io/package/track.md) ~0.1.0
- [cookie](https://npm.io/package/cookie.md) ~0.1.0
- [semver](https://npm.io/package/semver.md) ~2.2.1
- [request](https://npm.io/package/request.md) ~2.27.0
- [lru-cache](https://npm.io/package/lru-cache.md) ~2.5.0
- [quotemeta](https://npm.io/package/quotemeta.md) 0.0.0
- [apacheconf](https://npm.io/package/apacheconf.md) ~0.0.5
- [http-proxy](https://npm.io/package/http-proxy.md) ~0.10.2
- [buffer-crc32](https://npm.io/package/buffer-crc32.md) ~0.2.1

## Recent versions

- 0.0.17 (latest) — 2013-12-10
- 0.0.16 — 2013-11-21
- 0.0.15 — 2013-06-21
- 0.0.14 — 2013-06-21
- 0.0.13 — 2012-10-10
- 0.0.12 — 2012-09-04
- 0.0.11 — 2012-08-25
- 0.0.10 — 2012-08-25
- 0.0.9 — 2012-08-25
- 0.0.8 — 2012-08-25
- 0.0.7 — 2012-08-25
- 0.0.6 — 2012-08-25
- 0.0.5 — 2012-08-25
- 0.0.4 — 2012-08-25
- 0.0.3 — 2012-08-25
- … 2 more at https://npm.io/package/sepro/versions

## README

# Sepro

[![Dependency Status](https://gemnasium.com/tellnes/sepro.png)](https://gemnasium.com/tellnes/sepro)

Sepro is a http proxy which discovers where to proxy a request. It has a
number of middlewares which is looks for routing rules in their respective
source. It also supports sticky session either based on cookies or remote
address.

Internally is it using
[NodeJitsu](https://github.com/nodejitsu)´s
[node-http-proxy](https://github.com/nodejitsu/node-http-proxy)
library to proxy the requests.


## Example

```js
var sepro = require('sepro')
  , seaport = require('seaport')

var app = sepro()

app.use(sepro.stickyCookie())

app.use(sepro.haibu({ endpoint: 'http://haibu.example.com:9002/'
                    , authToken: 'keyboard cat'
                    , serverName: 'haibu.sepro.exaple.com'
                    } ))

app.use(sepro.seaport({ ports: seaport.connect(7000)
                      , serverName: 'seaport.sepro.exaple.com'
                      } ))

app.use(sepro.apache( '/etc/apache2/httpd.conf' ))

app.listen(8080)
```

## Install

    npm install sepro

## Licence

MIT

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