npm.io
1.0.3 • Published 9 years agoCLI

uncoffee

Licence
MIT
Version
1.0.3
Deps
2
Vulns
0
Weekly
0
Stars
1

uncoffee

A little utility for porting projects out of coffeescript to plain javascript. It's currently simply a coffee compiler wrapper which preserves more of the comments in coffeescript source. It's written in coffeescript so it can be tested on itself.

usage

Run the following to generate a filename.js file with comments preserved.

npm install -g uncoffee
uncoffee filename.coffee

todo?

Furhter improving readability compared to simply compiling.

  • comments which are appended to a line of code.
  • for...in loops are awkward
  • ternary ops are overused