npm install -g coffeetoes6
- Classes (with methods)
- Comment preservation (the CoffeeScript compiler usually loses them)
- require -> import statements
- Anonymous to fat arrow functions
- var -> let
Again, the output code will definitely need to be reviewed (as you should always do, to make sure you are using the most appropriate new features). There are a number of converters out there. This one works well for me, it is small, simple, and easy to hack on. Perhaps it will work for you.