What are my restrictions if I want to code node.js and use CoffeeScript?
Can I do anything I’d be able to do in JS?
What are my restrictions if I want to code node.js and use CoffeeScript? Can
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Yes, CoffeeScript simply compiles into pure JS, making it completely compatible with node.js.
To run CoffeeScripts on node, you can either:
coffee -c example.coffeeto compile, followed bynode example.jsto run the compiled JS.coffee example.coffee