node package manager
Easy collaboration. Discover, share, and reuse code in your team. Create a free org ยป


Gusto an MVC framework written in Coco for Node. It's geared towards flexibility without sacrificing simplicity, and at a mere ~500loc it's lightweight too. It's released under the MIT Licence, so hack away. ##Sample ###controllers/

{Controller,action} = require \gusto/lib/mvc/controller
{get} = require \gusto/lib/server/router = Controller {
    index: get "home", action (self)->
        self.render greet:"world!"


Hello #{greet}

Gusto = require \gusto
app = Gusto.defaults!
app.listen 8001
$ coco &
LOG	5174 Listening on *:8001
$ curl http://localhost/home
Hello world!