require('http').createServer(function(input, echo) {
echo.writeHead(200, { 'Content-Type': 'text/plain' }); var index=require('my/index.js'); echo.write( index.show()); echo.end();}).listen(1337, "127.0.0.1");console.log('<<Server running at http://127.0.0.1:1337/>>');
require目录为npm node_modules所在目录