LinuxCommandLibrary

just.js

TLDR

Start a REPL (interactive shell)

$ just
copy
Run a JavaScript file
$ just [path/to/file.js]
copy
Evaluate JavaScript code
$ just eval "[code]"
copy
Initialize a new project
$ just init [project_name]
copy
Build a JavaScript application into executable
$ just build [path/to/file.js] --static
copy

SYNOPSIS

just [options] [file]

DESCRIPTION

just is a small, embeddable V8 JavaScript runtime for Linux. It provides a minimal runtime environment for executing JavaScript applications with direct access to Linux system calls.
The runtime is designed to be lightweight and fast-starting, suitable for serverless functions, command-line tools, and embedded applications. It can compile JavaScript into standalone executables.

PARAMETERS

eval CODE

Evaluate JavaScript code string
init NAME
Initialize a new project directory
build FILE
Build JavaScript into executable
--static
Create statically linked executable

CAVEATS

Linux-only runtime. API differs from Node.js; applications may need modification. Smaller ecosystem compared to Node.js or Deno.

HISTORY

just-js was created as a minimal V8 runtime for Linux, focusing on low overhead and direct system call access rather than the broader API compatibility of Node.js.

SEE ALSO

node(1), deno(1), bun(1)

Copied to clipboard