# sockjs-proxy

> Forward a [SockJS](https://github.com/sockjs) connection to an upstream SockJS server.

Latest version **0.0.2** (published 2018-10-09) · 0 weekly downloads

## Install

```sh
npm install sockjs-proxy
pnpm add sockjs-proxy
yarn add sockjs-proxy
bun add sockjs-proxy
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.2 |
| Published | 2018-10-09 |
| First published | 2018-10-09 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 13.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Maintainers | kmxz |

## Links

- npm: https://www.npmjs.com/package/sockjs-proxy
- Repository: https://github.com/kmxz/sockjs-proxy
- Homepage: https://github.com/kmxz/sockjs-proxy#readme
- Issues: https://github.com/kmxz/sockjs-proxy/issues
- npm.io page: https://npm.io/package/sockjs-proxy

## Dependencies (2)

- [sockjs](https://npm.io/package/sockjs.md) ^0.3.19
- [sockjs-client](https://npm.io/package/sockjs-client.md) ^1.3.0

## Recent versions

- 0.0.2 (latest) — 2018-10-09

## README

# sockjs-proxy

Forward a [SockJS](https://github.com/sockjs) connection to an upstream SockJS server.

Example: listening at port 8000, forwarding connections to port 8080.

    const createProxy = require('sockjs-proxy');

    const proxy = createProxy('http://localhost:8080/echo', { sockjs_url: 'http://cdn.jsdelivr.net/sockjs/1.0.1/sockjs.min.js' });
    const server = http.createServer();
    proxy.installHandlers(server, { prefix: '/echo' });
    server.listen(8000, '0.0.0.0');

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