mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-07-27 21:35:27 +02:00
24 lines
620 B
Markdown
24 lines
620 B
Markdown
# deno
|
|
|
|
> یک runtime امن برای JavaScript و TypeScript.
|
|
> اطلاعات بیشتر: <https://docs.deno.com/runtime/reference/cli>.
|
|
|
|
- اجرای یک فایل JavaScript یا TypeScript:
|
|
|
|
`deno run {{path/to/file.ts}}`
|
|
|
|
- شروع یک REPL (پوسته تعاملی):
|
|
|
|
`deno`
|
|
|
|
- اجرای یک فایل با دسترسی به شبکه فعال:
|
|
|
|
`deno run --allow-net {{path/to/file.ts}}`
|
|
|
|
- اجرای یک فایل از یک URL:
|
|
|
|
`deno run {{https://deno.land/std/examples/welcome.ts}}`
|
|
|
|
- نصب یک اسکریپت اجرایی از یک URL:
|
|
|
|
`deno install {{https://deno.land/std/examples/colors.ts}}`
|