connect middleware for assets combo
JavaScript CSS
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
examples
lib
test
.eslintrc
.gitignore
.travis.yml
HISTORY.md
README.md
index.js
package.json

README.md

connect-combo

Connect middleware for assets combo, resolve url like http://127.0.0.1??a.js,b.js.

Build Status Coverage Status


Install

$ npm install connect-combo -g

Usage

var app = connect()
  .use(combo())
  .listen(3000);

See example

Option

  • directory specify local directory base, default process.cwd().

  • proxy specify remote server, default false.

  • cache cache file from remote server, default false.

  • log show log on terminal, default false.

  • beforeProxy handle request before send to proxy, default null.

License

MIT