Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
49 lines (27 sloc) 972 Bytes

Information about this fork

Recurssively convert all the JavaScript files into Coffee-script inside a folder.

js2coffee test/express_ex_mvc

This will convert all .js files to .coffee file.

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:

$ cake test

Build the browser version:

$ cake build

Acknowledgements

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

And of course: