Enable SOCKS5 Proxy Support
Currently, only HTTP and HTTPS proxies are supported:
protocol: "http", // Proxy protocol [http/https]
Extend proxy support to include SOCKS5 protocol, allowing the following:
protocol: "socks5"
Add PM2 Action Argument for start-action
Currently, actions are executed separately, but we need to streamline the process when using PM2.
Request:
Support passing action arguments on a single line for use cases like PM2. The desired command format is:
pm2 start npm --name $app-name -- run start-action2
Update the scripts section of package.json to include:
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"start-action1": "node index.js --action=1",
"start-action2": "node index.js --action=2"
}
protocol: "http", // Proxy protocol [http/https]
Extend proxy support to include SOCKS5 protocol, allowing the following:protocol: "socks5"
Request: Support passing action arguments on a single line for use cases like PM2. The desired command format is:
pm2 start npm --name $app-name -- run start-action2
Update the scripts section of package.json to include: