script-server
v1.0.3
Published
Minifies and serves to client js scripts
Downloads
5
Maintainers
Readme
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.