I just posted a new module, npm install connect-coffee-script , which does just that. Submitted documentation and sample, as well as article .
Here is an example from readme:
var coffeescript = require('connect-coffee-script'); var connect = require('connect'); var app = connect(); app.use(coffeescript({ src: __dirname, dest: __dirname + '/public', bare: true })); app.use(connect.static(__dirname + '/public')); app.listen(3000)
source share