Skip to content

dkjs Reference Implementation

dkjs is the JavaScript build system in the dk family. It runs on Node.js and builds JavaScript and web projects: its execution ABI is js_nodejs, and a build targets js_nodejs or, through a web bundler, js_web. The whole dk build engine is compiled to a single JavaScript bundle that Node executes directly, with no native binary.

dkjs shares the exact command-line dispatch, commands, options, and build engine of the reference implementation dk0 and the multi-threaded dk1. This document only describes what is different in dkjs. For the invocation form, every command, and every option, see the dk0 Reference. For the -j / --jobs option it shares with dk1, see the dk1 Reference. For the implementation-agnostic build model (projects, assets, bundles, forms, objects, values, subshells, distributions and scripts) see the Specification.