Firefox OS Web Server
A basic HTTP server for Firefox OS, written in JavaScript!
Installing it
npm install git+https://github.com/justindarc/fxos-web-server.git
Using it
// Require the server codevar HTTPServer = ; // Make an instance listening in port 80var server = 80; // Listen to request eventsserver; // Finally start the serverserverstart; // (you can stop it afterwards with server.stop())
You can also have a look at the examples in the example
folder.