From a7064221235610a60296f2e1cad724eb02a0e3af Mon Sep 17 00:00:00 2001 From: Axel Navarro Date: Mon, 3 Oct 2022 09:13:25 -0300 Subject: [PATCH] just-js: add page (#8674) --- pages/linux/just-js.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 pages/linux/just-js.md diff --git a/pages/linux/just-js.md b/pages/linux/just-js.md new file mode 100644 index 000000000..68868cd34 --- /dev/null +++ b/pages/linux/just-js.md @@ -0,0 +1,24 @@ +# just + +> A V8 JavaScript runtime for Linux. +> More information: . + +- Start a REPL (interactive shell): + +`just` + +- Run a JavaScript file: + +`just {{path/to/file.js}}` + +- Evaluate JavaScript code by passing it as an argument: + +`just eval "{{code}}"` + +- Initialize a new project in a directory of the same name: + +`just init {{project_name}}` + +- Build a JavaScript application into an executable: + +`just build {{path/to/file.js}} --static`