Koamotive
Koamotive is an attempt to implement functionality lost in the transition from Express to Koa.
Usage
Koamotive just an extension of the koa
object so it works as a drop in replacment. First install via npm:
$ npm install koamotive
Next, require koamotive
instead of koa
.
var koa = app = ; app; // Everything works as expected // New koamotive methodsapp; app;
Features
Router
Basic router functionality. app.[get|post|put|delete](path, callback)
.
Example:
app;
License
MIT