mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-19 06:50:08 +00:00
Update cheatsheets
This commit is contained in:
29
linux/just.js
Normal file
29
linux/just.js
Normal file
@@ -0,0 +1,29 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# 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`
|
||||
Reference in New Issue
Block a user