add new chinese translations
This commit is contained in:
24
pages.zh/linux/just.js.md
Normal file
24
pages.zh/linux/just.js.md
Normal file
@@ -0,0 +1,24 @@
|
||||
# just
|
||||
|
||||
> 一款用于 Linux 的 V8 JavaScript 运行时。
|
||||
> 更多信息:<https://github.com/just-js/just>。
|
||||
|
||||
- 启动 REPL(交互式 shell):
|
||||
|
||||
`just`
|
||||
|
||||
- 运行 JavaScript 文件:
|
||||
|
||||
`just {{path/to/file.js}}`
|
||||
|
||||
- 通过将代码作为参数传递来评估 JavaScript 代码:
|
||||
|
||||
`just eval "{{code}}"`
|
||||
|
||||
- 在同名目录中初始化一个新项目:
|
||||
|
||||
`just init {{project_name}}`
|
||||
|
||||
- 将 JavaScript 应用程序构建为可执行文件:
|
||||
|
||||
`just build {{path/to/file.js}} --static`
|
Reference in New Issue
Block a user