Simple Server allows you to easily get a node.js static file server up and running anywhere anytime.
npm install --global simple-server
Module usage is as so:
Command line usage is as so:
npm i -g simple-server simple-server public 3000
Number argument is the port. String argument is the directory. No directory will listen to the current directory. No port will listen on port
As of v1.1.0 this project is now just a quick alias for zeit/serve, which you should just use directly, as that project is maintained and this project is not. If you have python on your computer, you can also just use:
python -m SimpleHTTPServer 8000
These amazing people are maintaining this project:
No sponsors yet! Will you be the first?
These amazing people have contributed code to this project:
Unless stated otherwise all works are:
- Copyright © 2011+ Benjamin Lupton
and licensed under: