DOKK / manpages / debian 12 / coffeescript / coffee.1.en
COFFEE(1) User Commands COFFEE(1)

coffee - interpreter and compiler for the CoffeeScript language

coffee [options] path/to/script.coffee [args]

If called without options, `coffee` will run your script.

generate an abstract syntax tree of nodes
compile without a top-level function wrapper
compile to JavaScript and save as .js files
pass a string from the command line as input
display this help message
run an interactive CoffeeScript REPL
concatenate the source CoffeeScript before compiling
treat stdio as literate style coffeescript
generate source map and save as .js.map files
generate source map and include it directly in output
print out the parse tree that the parser produces
pass options directly to the "node" binary
suppress the "Generated by" header
set the output path or path/filename for compiled JavaScript
print out the compiled JavaScript
require the given module before eval or REPL
listen for and compile scripts over stdio
pipe generated JavaScript through Babel
print out the tokens that the lexer/rewriter produce
display the version number
watch scripts for changes and rerun commands
December 2022 coffee 2.7.0