Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
42 lines (25 sloc) 885 Bytes

JS2Coffee

A JavaScript to CoffeeScript compiler.

$ npm install js2coffee

Usage:

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

Development

Install dependencies:

$ npm install
$ npm install glob

Run tests:

$ make test

Build the browser version:

# Uses ruby and the JSMin gem for now;
# Run this then check dist/js2coffee.min.js

$ gem install jsmin
$ make

Acknowledgements

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

And of course: