localproxy

0.1.7 • Public • Published

localproxy(本地代理)

This tool can help us to rapidly develop(此工具能帮助我们快速开发)

Knowledge

  • http : craete sever listen 80
  • dns : find file when 404 in filesystem

Usage

***Command***
```javascript
* npm install localproxy -g
```	
	* mac :
		. `mproxy`
	* windows :
		. `wproxy`

Config

* config json.json file
	- mac : /usr/local/lib/node_modules/localproxy/json.json
	- win : C:/User/***/AppData/Roaming/npm/node_modules/localproxy/json.json
```javascript
	[{
	  "before": "/sjzn/system/",  [url container key]
	  "end":"/Volumes/zhuoling/git/system/src/" [local file ]
	}]
```

Link Info

* mail : jiongjun.sunjj@alibaba-inc.com

Package Sidebar

Install

npm i localproxy

Weekly Downloads

1

Version

0.1.7

License

MIT

Last publish

Collaborators

  • sunjiongjun