Skip to content

Instantly share code, notes, and snippets.

@mahemoff
Created September 29, 2011 14:54
Show Gist options
  • Save mahemoff/1250899 to your computer and use it in GitHub Desktop.
Save mahemoff/1250899 to your computer and use it in GitHub Desktop.
Node wrapper for CoffeeScript (can use in Heroku)
var coffee = require('coffee-script'),
cs = require('fs').readFileSync('./app.coffee', 'ascii');
eval(coffee.compile(cs));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment