edge-emu

0.2.32 • Public • Published

Edge-Emulator

Edge emulator

Usage

[0] please use linux, if your dev env under MAC OS X, then install bindfs:

$ brew install bindfs

[1] run program

  • dynamic (in app.js, you should export express app) :
$ edge-emu -d demo/app.js
  • static:
$ edge-emu -s demo/

[2] dump API

$ edge-emu -l

[3] specify hosts

$ edge-emu -h xxx.com

[4] clean hosts

$ edge-emu -c

[5] specify global resource folder :

$ edge-emu -g /repo/global

[6] specify symbol resource folder :

$ edge-emu -m /resource/symbolsymbol

[7] specify multiple apps folder :

$ edge-emu -f ./apps

Dependents (0)

Package Sidebar

Install

npm i edge-emu

Weekly Downloads

47

Version

0.2.32

License

none

Last publish

Collaborators

  • moyerock