Scroll to navigation

COFFEE(1) User Commands COFFEE(1)


coffee - interpreter and compiler for the CoffeeScript language


coffee [options] path/to/ -- [args]


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

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
generate source map and save as 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 directory for compiled JavaScript
print out the compiled JavaScript
require the given module before eval or REPL
listen for and compile scripts over stdio
treat stdio as literate style coffee-script
print out the tokens that the lexer/rewriter produce
display the version number
watch scripts for changes and rerun commands
January 2021 coffee 1.12.8~dfsg-5