script-server
v1.0.3 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.
npm i script-server
Metadata
- BSD-3-Clause
- Whatever
- Yurij Mikhalevich
- released 7/30/2014