just-js: add page (#8674)

pull/1/head
Axel Navarro 2022-10-03 09:13:25 -03:00 committed by GitHub
parent 5bc1dfb9ed
commit a706422123
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 24 additions and 0 deletions

24
pages/linux/just-js.md Normal file
View File

@ -0,0 +1,24 @@
# just
> A V8 JavaScript runtime for Linux.
> More information: <https://github.com/just-js/just>.
- 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`