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

dev-proxy

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dev-proxy

Simple SSL HTTP proxy using a self-signed certificate. Intended for local development only.

  • 2.1.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
3
decreased by-72.73%
Maintainers
1
Weekly downloads
 
Created
Source

dev-proxy

Simple SSL HTTP proxy using a self-signed certificate. Intended for local development only. Based off of local-ssl-proxy.

Usage: dev-proxy [options]

Options:

  -h, --help                  output usage information
  -V, --version               output the version number
  -p --proxy <source:target>  ports to proxy
  -k --key [keyPath]          optional path to key file
  -c --cert [certPath]        optional path to cert file
  -h --host [hostname]        optional hostname

Install

npm install -g dev-proxy
# will automatically generate a self-signed cert/key

Run

To start a proxying from port 9000 to 9001 run:

dev-proxy --proxy 9000:9001

Start your web server on the source port (9000 in the example) and navigate to https://localhost:<target-port> (https://localhost:9001 in the example). You'll get a warning because the certificate is self-signed, this is safe to ignore during development.

To create multiple proxies run:

dev-proxy --proxy 8080:8443 --proxy 9080:9443

Keywords

FAQs

Package last updated on 04 Feb 2017

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