corki-proxy
v0.1.0
Published
A proxy to make front-end developing better.
Downloads
4
Readme
corki-proxy
A proxy to make front-end developing better.
It provides front-end source compiling, just like, request main.less
, it will response with the content which has been compiled and can be used in browser.
Support resource type: see corki-compiler
Usage
Command
# serve current work directory
corkip .
# assign port
corkip example --port 4000
Program
const proxy = require('corkic-proxy')
proxy.serve('path/to/project')
Todo
- customize middlewares
- more options for configure