foolproxy

3.0.1 • Public • Published

foolproxy

NPM version NPM downloads Node version

The most simple http & https proxy for mac.


Install

$ npm install foolproxy -g

Usage

// remote url to local url
$ sudo foolproxy <remoteUrl> <localUrl>
sudo foolproxy https://baidu.com/component/console-security-message/0.0.2/index.js ./index.js
 
// remote url to remote url
$ sudo foolproxy <remoteUrl> <remoteUrl>
sudo foolproxy https://baidu.com/component/xxx/0.0.2/index.js http://taobao/xxx/index.js
 
// multiple proxy
$ sudo foolproxy ./my-proxy.json
my-proxy.json
{
  "https://baidu.com/component/console-security-message/0.0.2/index.js": "./index.js",
  "https://baidu.com/component/xxx/0.0.2/index.js": "https://taobao/xxx/index.js"
}

Feature

  • auto create certificate
  • support http & https
  • support multi file(https && http)
  • only for mac

License

foolproxy is available under the terms of the MIT License.

demo

/foolproxy/

    Package Sidebar

    Install

    npm i foolproxy

    Weekly Downloads

    1

    Version

    3.0.1

    License

    none

    Last publish

    Collaborators

    • nikogu