New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

sockjs-proxy

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sockjs-proxy

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

latest
Source
npmnpm
Version
0.0.2
Version published
Maintainers
1
Created
Source

sockjs-proxy

Forward a 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');

FAQs

Package last updated on 09 Oct 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts