0.0.1 • Published 10 years ago
koa-router-controller v0.0.1
what?! Controllers for koa.
hold on, hold on! Here's something great.
var controller = require('koa-router-controller');
var myController = controller({
list: function *() {
// Implement me!
},
show: function *() {
// Implement me!
},
create: function *() {
// Implement me!
},
update: function *() {
// Implement me!
},
remove: function *() {
// Implement me!
}
});
npm install koa-router-controller
0.0.1
10 years ago