Project Description
Host-With-Node leverages the mime NPM package and the Node.js javascript environment to set up a streaming server in the local directory.
The file ./bin/host
works as a binary in shell enrivonments making use of the
node.js shebang. It takes on argument a port number, which is the port the
HTTP server will run on. If no argument is present the server runs on port
8080.
Pre-requisites
Node.js
The Node.js server-side Javascript environment.
NPM
NPM: The Node Package Manager
curl http://npmjs.org/install.sh | sh
Install
npm install hostwithnode