Scroll to navigation

DUK(1) User Commands DUK(1)

NAME

duk - duktape, embeddable Javascript engine

SYNOPSIS

duk [options] [<filenames>]

DESCRIPTION

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