How to use IcedCoffeeScript on ExpressJS application

346 views Asked by At

the question is how can I use IcedCoffeeScript (http://maxtaco.github.io/coffee-script) on my web-application based on ExpressJS? Now I use vanilla CoffeeScript language in my application.

Thank you

2

There are 2 answers

0
Andrei Karpuszonak On BEST ANSWER
  • install IcedCoffeeScript globally via npm (in similar way you installed CoffeeScript):

npm -g install iced-coffee-script

  • run your app written in IcedCoffeeScript (so Coffee + await, defer keywords)

iced app.coffee

Btw, IcedCoffeeScript is a superset of Coffee, so you will be able to execute your code written in Coffee using iced

0
Ionut-Cristian Florescu On

You can also use nodemon with IcedCoffeeScript for development, like this: nodemon -x iced app.iced.