simple.js
This file
Path
examples/simple.js
8 lines · 231 bytes · JavaScript
Last changed by
Added example, extra info to Readmecsausdevbefore adoption3491ff3
History of this fileTake it
Added example, extra info to Readmecsausdevbefore adoption3491ff3
lines 1–8why, one step back1require.paths.unshift("./lib")2require('express')34get('hello/:value', function(req, res) {5 '<html><head><title>Traditional Example</title></head><body><h1>Hello '+param('value')+'</h1></body></html>' 6});78Express.start();