Connect middleware for assets combo, resolve url like http://127.0.0.1??a.js,b.js
.
$ npm install connect-combo -g
var app = connect()
.use(combo())
.listen(3000);
See example
-
directory
specify local directory base, defaultprocess.cwd()
. -
proxy
specify remote server, defaultfalse
. -
cache
cache file from remote server, defaultfalse
. -
log
show log on terminal, defaultfalse
. -
beforeProxy
handle request before send to proxy, defaultnull
.
MIT