Last Updated: March 02, 2016
· dustinrjo

Requiring CoffeeScript 1.7+ files in NodeJS

If you are building something in node but prefer CoffeeScript like me, then you will need to add this to your first js file, eg. app.js


Why? You can google that.

Oh yeah and of course you must have already

npm install -g coffee-script


npm install --save coffee-script if you are doing it locally.

This used to be
require('coffee-script') and the docs need to be improved.