Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

n-http-proxy

Package Overview
Dependencies
Maintainers
0
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

n-http-proxy

a http(s) proxy server

  • 0.2.4
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
8
decreased by-88.57%
Maintainers
0
Weekly downloads
 
Created
Source

node-http-proxy

a node http(s) proxy server with single process mode or multi process mode(set parameter '-i')

Install node-http-proxy

$npm install -g node-http-proxy

Server Start

$nproxy start -p 9999 -i 1
#start proxy server
#create child process 1 (default 1) or more(limit by cpu cores)
#on port 9999(default 8234)

$nproxy stop #stop server

Use in code

var ProxyMaster = require('node-http-proxy').proxyMaster;

var proxymaster = new ProxyMaster({instance:1,port:8123});

proxymaster.start();

Useage

$curl -x 127.0.0.1:9999 http://www.google.com/

Something need to do

1.finished nproxy command
2.support other http method

Keywords

FAQs

Package last updated on 03 Nov 2024

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc