DUK(1)
πΈ DUK(1) β the duk girlies' manual π
okay so bestie, welcome to the duk page. duk is duktape, the embeddable Javascript engine β yes, the whole thing, no cap. You're in the User Commands section, and I'm gonna walk you through it like we're texting at 2am. π¦
β¨ NAME β¨
duk β it's duktape, an embeddable Javascript engine. that's it, that's the name, periodt. π
π SYNOPSIS π
duk [options] [<filenames>]
likeβ¦ you give her options, you give her filenames, she runs. simple as. π
π DESCRIPTION π
here's the whole menu of flags, babes. every single one. I'm not skipping a thing, that's not the vibe. β¨
-iβ enter interactive mode after executing argument file(s) / eval code-e CODEβ evaluate code-c FILEβ compile into bytecode (use with only one file argument)--run-stdinβ treat stdin like a file, i.e. compile full input (not line by line)--verboseβ verbose messages to stderr--restrict-memoryβ use lower memory limit (used by test runner)--alloc-defaultβ use Duktape default allocator--recreate-heapβ recreate heap after every file--no-heap-destroyβ force GC, but don't destroy heap at end (leak testing)
lowkey important: if<filename>is omitted, interactive mode is started automatically. so if you just typedukand hit enter, she's talking back to you. main character energy fr fr. π
π«Ά okay and now the exact same list again, yes really π«Ά
not me pasting it twice β bestie, the page is like this. she lists it all a second time and honestly? iconic. we keep it. we respect it. no notes. ππ
-iβ enter interactive mode after executing argument file(s) / eval code-e CODEβ evaluate code-c FILEβ compile into bytecode (use with only one file argument)--run-stdinβ treat stdin like a file, i.e. compile full input (not line by line)--verboseβ verbose messages to stderr--restrict-memoryβ use lower memory limit (used by test runner)--alloc-defaultβ use Duktape default allocator--recreate-heapβ recreate heap after every file--no-heap-destroyβ force GC, but don't destroy heap at end (leak testing)
and yeah, one more time for the girls in the back: if <filename> is omitted, interactive mode is started automatically. π
that's the whole page, angel. go forth and duk. π¦β¨
signing off: this came from duk, and the date on it is June 2016 π β so yes, she's been serving since 2016 and she still ate. bye bestie, ily, drink water. ππ
π¦ where this page comes from
- debian bookworm: duktape 2.7.0-2 Β· MIT
- debian trixie: duktape 2.7.0-2+b2 Β· MIT
- ubuntu jammy: duktape 2.7.0-1 Β· MIT
- ubuntu noble: duktape 2.7.0+tests-0ubuntu3 Β· MIT
- ubuntu questing: duktape 2.7.0+tests-0ubuntu3
- ubuntu resolute: duktape 2.7.0+tests-0ubuntu4 Β· MIT
- ubuntu stonking: duktape 2.7.0+tests-0ubuntu4 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms