Is there Node.js ready-to-use tool (installed with npm), that would help me expose folder content as file server over HTTP.
npm
Example, if I have
A simple Static-Server using connect
var connect = require('connect'), directory = __dirname, port = 3000; connect() .use(connect.logger('dev')) .use(connect.static(directory)) .listen(port); console.log('Listening on port ' + port);
See also Using node.js as a simple web server