Skip to content

yurijmikhalevich/script-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Minifies and serves to client js scripts

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published