No description
Find a file
2021-02-19 09:06:55 +01:00
.vscode examples 2021-02-18 18:31:25 +01:00
examples add jsdoc 2021-02-19 09:06:55 +01:00
.gitignore examples 2021-02-18 18:31:25 +01:00
index.ts add jsdoc 2021-02-19 09:06:55 +01:00
README.md import and test examples 2021-02-18 20:10:43 +01:00

Deno

📑 Installation

On macOS use HomeBrew to install deno then update to latest version.

brew install deno
deno upgrade

⚙️ Configuration

Create a basic configuration file using:

code .vscode/settings.json

with the following content

{
  "deno.enable": true,
  "deno.unstable": true,
  "deno.lint": true,
  "deno.import_intellisense_origins": {
    "https://deno.land": true
  },
  "[typescript]": {
    "editor.defaultFormatter": "denoland.vscode-deno"
  },
  "[typescriptreact]": {
    "editor.defaultFormatter": "denoland.vscode-deno"
  }
}

🧪 Test run

Create a index.ts file such as

console.log("Hello, Deno");

then run

deno run --allow-net  index.ts

Checkout files in examples folder.

Watch mode

deno run --watch --unstable index.ts