Files
tldr/pages.fr/common/deno.md

25 lines
596 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# deno
> Un environnement dexé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 dune URL :
`deno run {{https://deno.land/std/examples/welcome.ts}}`
- Installe un script exécutable à partir dune URL :
`deno install {{https://deno.land/std/examples/colors.ts}}`