An open API service indexing awesome lists of open source software.

https://github.com/thecodeholic/top-5-features-of-deno

Example package which demonstrates top 5 features of Deno
https://github.com/thecodeholic/top-5-features-of-deno

deno deno-examples deno-features denofeatures top-5-deno-features

Last synced: 3 months ago
JSON representation

Example package which demonstrates top 5 features of Deno

Awesome Lists containing this project

README

        

# Top 5 Features of Deno

[Deno](https://deno.land/) 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](https://youtu.be/cQQyYQrJzHU).

### Installation

1. You need to have Deno installed locally in order to run these files. Deno installation [instructions](https://deno.land/#installation).
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
```