https://github.com/vmandic/learning-denojs
I am using this repository to learn about Deno JS.
https://github.com/vmandic/learning-denojs
denojs javascript learning tutorial typescript
Last synced: 1 day ago
JSON representation
I am using this repository to learn about Deno JS.
- Host: GitHub
- URL: https://github.com/vmandic/learning-denojs
- Owner: vmandic
- Created: 2020-12-27T00:05:42.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2020-12-27T20:53:42.000Z (over 5 years ago)
- Last Synced: 2025-05-31T16:26:19.079Z (11 months ago)
- Topics: denojs, javascript, learning, tutorial, typescript
- Language: TypeScript
- Homepage:
- Size: 15.5 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Learning Deno JS (a better and more fun Node JS)
(I am using) this repository (which) contains sample code used for learning in a file by file approach to better understanding Deno JS concepts and usage.
## Basic commands
Use `deno run "filename"` to run deno programs.
Use `deno compile "filename"` to compile into a single executable.
## Editor support
To enable vscode autocomplete create a .vscode\setting.json > `{"deno.enable": true}` and also install the deno extension: .
## (**Super awesome**) core concepts
- single executable (`deno compile`)
- typescript out of the box, no .tsconfig
- no node_modules, only ES imports, import files directly, no package.json
- isolated execution; you must specify what is allowed, eg. file (disk I/O) access or web (address) access
## Top level await
Deno supports top level await, meaning that you can write `await` statements in top level scope without needing an explicit `async function` scope.
---
More intro details can be found on the official tutorial page: