single-line-proxy

1.0.17 • Public • Published

Single Line Proxy

Command line utility to create a proxy.

Usage

npx single-line-proxy "/api/(.*)>3000" "/(.*)>3001" 4000

Will run a proxy on port 4000 and forward requests that match each of the path patterns to the corresponding port on localhost.

Or install it

npm install -g single-line-proxy
slp "/api/(.*)>3000" "/(.*)>3001" 4000

Readme

Keywords

none

Package Sidebar

Install

npm i single-line-proxy

Weekly Downloads

0

Version

1.0.17

License

MIT

Unpacked Size

6.75 kB

Total Files

8

Last publish

Collaborators

  • codeallthethingz