mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 23:24:55 +02:00
24 lines
596 B
Markdown
24 lines
596 B
Markdown
# deno
|
|
|
|
> Un environnement d’exécution sécurisé pour JavaScript et TypeScript.
|
|
> Plus d'informations : <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}}`
|