A Node-RED node to execute coffeescript (with support for both asynchronous and synchronously flows)
npm install node-red-contrib-coffeescript
mongo = @context.global.mongo msg.succes = false if msg.payload.length mongo.getItems (err,items) -> msg.succes = true cb(msg) else return msg
Did you notice the support for both synchronous and asynchronous flows?
I love Node-red!