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
123456789require.paths.unshift("./lib")require('express')
get('hello/:value', function(req, res) { '<html><head><title>Traditional Example</title></head><body><h1>Hello '+param('value')+'</h1></body></html>' });
Express.start();