mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-03-28 21:16:20 +01:00
deno: add Chinese translation (#11441)
This commit is contained in:
parent
1cfdd6a1e3
commit
1027451fe5
1 changed files with 24 additions and 0 deletions
24
pages.zh/common/deno.md
Normal file
24
pages.zh/common/deno.md
Normal file
|
@ -0,0 +1,24 @@
|
|||
# deno
|
||||
|
||||
> 一个安全的 JavaScript 和 TypeScript 运行时。
|
||||
> 更多信息:<https://deno.land>.
|
||||
|
||||
- 运行 JavaScript 或 TypeScript 文件:
|
||||
|
||||
`deno run {{路径/到/文件.ts}}`
|
||||
|
||||
- 启动 REPL(交互式 shell):
|
||||
|
||||
`deno`
|
||||
|
||||
- 运行文件并启用网络访问:
|
||||
|
||||
`deno run --allow-net {{路径/到/文件.ts}}`
|
||||
|
||||
- 从 URL 运行文件:
|
||||
|
||||
`deno run {{https://deno.land/std/examples/welcome.ts}}`
|
||||
|
||||
- 从 URL 安装可执行脚本:
|
||||
|
||||
`deno install {{https://deno.land/std/examples/colors.ts}}`
|
Loading…
Add table
Reference in a new issue