Yes, CoffeeScript simply compiles into pure JS, making it completely compatible with node.js.
To run CoffeeScripts on node, you can either:
- Type
coffee -c example.coffeeto compile, followed bynode example.jsto run the compiled JS. - Simply type
coffee example.coffee