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
Added example, extra info to Readmecsausdevbefore adoption3491ff3
lines 1–3why, one step back1require.paths.unshift("./lib")2require('express')3Asynchronous handlers working.csausdevbefore adoption80328f9
line 4why, one step back4get('hello/:value', function() {Added example, extra info to Readmecsausdevbefore adoption3491ff3
lines 5–8why, one step back5 '<html><head><title>Traditional Example</title></head><body><h1>Hello '+param('value')+'</h1></body></html>' 6});78Express.start();