mirror of
https://github.com/alibaba/anyproxy.git
synced 2025-04-23 15:51:25 +00:00
update readme
This commit is contained in:
parent
6b231cbf26
commit
ae26b13cb3
@ -74,15 +74,6 @@ A guide about configuring https features is here : [https://github.com/alibaba/a
|
|||||||
|
|
||||||
Others
|
Others
|
||||||
-----------------
|
-----------------
|
||||||
#### to install node modules
|
|
||||||
|
|
||||||
* to install node modules for supporting rules development, use ``` anyproxy install ```
|
|
||||||
* for example ``` anyproxy install underscore ```
|
|
||||||
* and in rule file
|
|
||||||
```
|
|
||||||
var base = path.join(process.env.NODE_PATH,'anyproxy','node_modules');
|
|
||||||
var underscore = require(path.join(base,'underscore'));
|
|
||||||
```
|
|
||||||
|
|
||||||
#### to save request data
|
#### to save request data
|
||||||
* to save request data to local file, use ``` anyproxy --file /path/to/file ```
|
* to save request data to local file, use ``` anyproxy --file /path/to/file ```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user