Simple HTTP Web Server
At the time of this writing, it will serve up static HTML, CSS, and JS over a specified port.
This is similar to the python module
npm -g install simple-http-server
-g flag lets you use the command line tool.
By default, this will serve up the current directory on port 80. You can see what you can configure by running:
-d, --directory root directory to serve -p, --port port to listen on --nocolors disable colors, default: false --nologs disable logs, default: false --help show this help screen
Please note - the help screen can change, run it when you install to see what your version is capable of.
Thanks to http://nodejs.org/ for making this possible.
Copyright 2012 Andrew Thorp This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.