Skip to content

thecodeholic/Top-5-Features-of-Deno

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Top 5 Features of Deno

Deno is a simple, modern and secure runtime for JavaScript and TypeScript that uses V8 and is built in Rust.

The code is written for youtube video.

Installation

  1. You need to have Deno installed locally in order to run these files. Deno installation instructions.
  2. Clone the project and navigate to project folder using terminal.

Feature 1: Builtin typescript support

deno run feature1.ts

Feature 2: Import from URL

deno run feature2.js

Feature 3: Top level await

deno run feature3.js

Feature 4: Security

deno run --allow-read feature4.js

Feature 5: Browser API support

deno run --allow-net feature5.js

All 5 features in single file.

deno run --allow-net allfeatures.ts