0.0.9 • Published 11 years ago
obedient v0.0.9
###Obedient - Minimal http framework with nothing.
Install: npm install obedient
###app.get():
app.get(route, callback)
Connect style routing for GET http methods. Missing routes will throw a 404.
###app.post():
app.post(route, callback)
Connect style routing for POST http methods. Missing routes will throw a 404.
###app.put():
app.put(route, callback)
Connect style routing for PUT http methods. Missing routes will throw a 404.
###app.del():
app.del(route, callback)
Connect style routing for DELETE http methods. Missing routes will throw a 404.
###app.listen():
app.listen(port)
Port for server to listen on. ###app.use():
app.use(middleware)
Connect style middleware.
###Deps:
Router documentation: https://github.com/aaronblohowiak/routes.js
###Examples: View the examples
###Tests
npm test