mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 23:24:55 +02:00
25 lines
595 B
Markdown
25 lines
595 B
Markdown
![]() |
# deno
|
||
|
|
||
|
> Un environnement d’exécution sécurisé pour JavaScript et TypeScript.
|
||
|
> Plus d'information : <https://deno.land>.
|
||
|
|
||
|
- Exécute un fichier JavaScript ou TypeScript :
|
||
|
|
||
|
`deno run {{chemin/du/fichier.ts}}`
|
||
|
|
||
|
- Démarre un REPL (shell interactif) :
|
||
|
|
||
|
`deno`
|
||
|
|
||
|
- Exécute un fichier avec l'accès au réseau activé :
|
||
|
|
||
|
`deno run --allow-net {{chemin/du/fichier.ts}}`
|
||
|
|
||
|
- Exécute un fichier à partir d’une URL :
|
||
|
|
||
|
`deno run {{https://deno.land/std/examples/welcome.ts}}`
|
||
|
|
||
|
- Installe un script exécutable à partir d’une URL :
|
||
|
|
||
|
`deno install {{https://deno.land/std/examples/colors.ts}}`
|