simple.js
This file
Path
examples/simple.js
8 lines · 223 bytes · JavaScript
Last changed by
Asynchronous handlers working.csausdevbefore adoption80328f9
History of this fileTake it
123456789require.paths.unshift("./lib")require('express')
get('hello/:value', function() { '<html><head><title>Traditional Example</title></head><body><h1>Hello '+param('value')+'</h1></body></html>' });
Express.start();