/js2coffee

JavaScript to CoffeeScript written in CoffeeScript.

Primary LanguageJavaScript

JS2Coffee

A JavaScript to CoffeeScript compiler.

$ npm install js2coffee

Usage:

$ js2coffee input_file.js
$ js2coffee input_file.js > output.coffee
$ cat input.js | js2coffee

Development

Run tests:

$ npm test

Build the browser version:

$ cake build

Acknowledgements

Made possible thanks to the hard work of Js2coffee's dependency projects:

And of course: