Skip to content

Latest commit

 

History

History
17 lines (12 loc) · 373 Bytes

README.md

File metadata and controls

17 lines (12 loc) · 373 Bytes

trivialproxy

A simple proxy server in nodejs

Usage:

npm i -g trivialproxy

# for http proxy server
tp -p 8080 -h localhost

# for https proxy server
tp -p 443 -h somehost.in -prot https --key-path key.pem --cert-path cert.pem

# for https proxy server and http request
tp -p 443 -h somehost.in -prot https --key-path key.pem --cert-path cert.pem --https-req