script-server

v1.0.0
Minifies and serves to client js scripts
server script minifier script server

script-server

Minifies and serves to client js scripts

server

require('script-server').serve(url, pathToScripts, srv);

pathToScripts is a single path or an array of paths to js scripts.

After, it may be accessed by url.

Server is any node.js http server.

After you should manually call server.listen to start it.

For more detailed documentation use sources.

Metadata

  • Unknown
  • Whatever
  • Yurij Mikhalevich
  • released 1/24/2014

Downloads

Maintainers