![]() coffee compiles CoffeeScript source files into JavaScript. Usage: coffee path/to/script.coffee -i, --interactive run a CoffeeScript REPL (requires Narwhal) -r, --run compile and run a script (requires Narwhal) -o, --output [DIR] set the directory for compiled JavaScript -w, --watch watch scripts for changes, and recompile -p, --print print the compiled JavaScript to stdout -l, --lint pipe the compiled JavaScript through JSLint -e, --eval compile a cli scriptlet or read from stdin -t, --tokens print the tokens that the lexer produces -v, --verbose print at every step of code generation -n, --no-wrap raw output, no safety wrapper or vars --install-bundle install the CoffeeScript TextMate bundle --version display CoffeeScript version -h, --help display this help message outside of the coffee-script directory |
||
---|---|---|
bin | ||
documentation | ||
examples | ||
lib | ||
test | ||
.gitignore | ||
LICENSE | ||
README | ||
Rakefile | ||
coffee-script.gemspec | ||
index.html | ||
package.json |
README
= { } } { { { } } } }{ { { }{ } } _____ __ __ ( }{ }{ { ) / ____| / _|/ _| .- { { } { }} -. | | ___ | |_| |_ ___ ___ ( ( } { } { } } ) | | / _ \| _| _/ _ \/ _ \ |`-..________ ..-'| | |___| (_) | | | || __/ __/ | | \_____\___/|_| |_| \___|\___| | ;--. | (__ \ _____ _ _ | | ) ) / ____| (_) | | | |/ / | (___ ___ _ __ _ _ __ | |_ | ( / \___ \ / __| '__| | '_ \| __| | |/ ____) | (__| | | | |_) | |_ | | |_____/ \___|_| |_| .__/ \__| `-.._________..-' | | |_| CoffeeScript is a little language that compiles into JavaScript. Install the compiler: gem install coffee-script Compile a script: coffee /path/to/script.coffee For documentation, usage, and examples, see: http://jashkenas.github.com/coffee-script/ To suggest a feature or report a bug: http://github.com/jashkenas/coffee-script/issues/ The source repository: git://github.com/jashkenas/coffee-script.git