decaffeinate Command Examples

Move your CoffeeScript source to modern JavaScript. More information: https://decaffeinate-project.org.

decaffeinate {{path/to/file.coffee}}

decaffeinate --use-cs2 {{path/to/file.coffee}}

decaffeinate --use-js-modules {{path/to/file.coffee}}

decaffeinate --loose-js-modules {{path/to/file.coffee}}