concurrency of **40** in **0.262** seconds.
## Examples
require.paths.unshift("./lib")
require('express')
require.paths.unshift("./lib")
require('express')
require('express/plugins')
use(MethodOverride)
use(ContentLength)
use(Logger)
set('views', dirname(__filename) + '/views')
get('/user/:id?', function() {
if (param('id'))
return 'Viewing user ' + param('id')
return 'Your user account'
})
run()
set('views', dirname(__filename) + '/views')
get('/user/:id?', function() {
if (param('id'))
return 'Viewing user ' + param('id')
return 'Your user account'
})
## Settings
set('views', '/path/to/views')
set('views') // => '/path/to/views'
$(['tj', 'matt', 'taylor'])
.select(function(name){ return name.charAt(0) == 't' })
.reject(function(name){ return name.length < 4 })
.first()
## Plugins
Express middleware and extensions take the form of a **Plugin**.
The difference with middleware and **Plugins** is that they may
interact with eachother, and Express in ways simple middleware cannot.
Currently the following core plugins are available:
* CommonLogger
* MethodOverride
* ContentLength
## Running Tests
Express uses the [JSpec](http://jspec.info) BDD JavaScript testing
framework to write and run elegant spec suites. JSpec is froozen