slack

Middleware for lazy sending of HTTP responses.

###Slack - Middleware for lazy sending of HTTP responses.
Install: npm install slack


###res.send():

app.send(body, code)

code is optional, if given will set the HTTP status code. If body is an object then the output will be converted to json and the content-type header will be set to application/json. Otherwise the output won't be converted and will be sent as text/html.


###Examples: View the examples


###Tests

npm test