You love CoffeeScrip? Or you’ve to maintain Brownfield JavaScript based Applications?

Coffee Script

Checkout Js2coffee! Js2coffee translates your JavaScript Code into nice, readable and valid CoffeeScript. In addition to the Js2coffee website (, there is also an NPM package available. You can install it directly from the terminal

$ npm install js2coffee
#or globally
$ npm install js2coffee --g

You can translate your JS file easily by providing the following command bash $ "console.log('sample javascript file')" >> some.js $ js2coffee some.js >**

I found this little package very useful to remove smell from old JavaScript files and move them to more readable and maintainable CoffeeScript files.

What do you think? Is this a good solution for maintaining old JavaScript code?