Skip to content

popomore/connect-combo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

68 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

connect middleware for assets combo

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •