@envov/proxy
v0.0.3
Published
Simple Proxy Tools
Downloads
6
Readme
install
npm install @envov/proxy -g
1、Create any file anywhere, for example:
touch ./proxy.ini
2、 Simple rules in it
[:888/typicode]
target=https://jsonplaceholder.typicode.com
# proxy https://jsonplaceholder.typicode.com on http://127.0.0.1:888/typicode
[:999/test]
target=https://jsonplaceholder.typicode.com/posts/1
# proxy https://jsonplaceholder.typicode.com/posts/1 on http://127.0.0.1:999/test
[:888]
target=https://jsonplaceholder.typicode.com/posts/1
# proxy https://jsonplaceholder.typicode.com/posts/1 on http://127.0.0.1:888
3、proxy
proxy ./proxy.ini
others
The weight of the configuration file is:
- first:proxy configuration-file.ini
- second:proxy.ini file under proxy command directory
- third:~/proxy.ini