Last Updated: February 25, 2016
· jcreamer898

simpleHTTPServer for Node.js

Ever just want a quick server for a folder of codez. Say you have a folder with...


In python there's a class called simpleHTTPServer, to do such a thing and now there's a node.js version of that as well.

To install it...

npm -g install simple-http-server

To use it...

cd /dir/with/codez
nserver -p {port}

Now just point your browser to localhost:{port} and that's it!