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 ThorpThis program is free software: you can redistribute it and/or modifyit under the terms of the GNU General Public License as published bythe 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 ofMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See theGNU General Public License for more details.You should have received a copy of the GNU General Public Licensealong with this program. If not, see <>.