DOKK / manpages / debian 12 / duktape / duk.1.en
DUK(1) User Commands DUK(1)

duk - duktape, embeddable Javascript engine

duk [options] [<filenames>]

enter interactive mode after executing argument file(s) / eval code
evaluate code
compile into bytecode (use with only one file argument)
treat stdin like a file, i.e. compile full input (not line by line)
verbose messages to stderr
use lower memory limit (used by test runner)
use Duktape default allocator
recreate heap after every file
force GC, but don't destroy heap at end (leak testing)

If <filename> is omitted, interactive mode is started automatically.

enter interactive mode after executing argument file(s) / eval code
evaluate code
compile into bytecode (use with only one file argument)
treat stdin like a file, i.e. compile full input (not line by line)
verbose messages to stderr
use lower memory limit (used by test runner)
use Duktape default allocator
recreate heap after every file
force GC, but don't destroy heap at end (leak testing)

If <filename> is omitted, interactive mode is started automatically.

June 2016 duk