Search⌘ K
AI Features

Solution: The Deno Runtime and Standard Library

Explore how to utilize Deno’s runtime and standard library to serve directories, read and write files with appropriate permissions, and manage file system operations essential for building web applications with Deno.

We'll cover the following...

Solution

Task 1

Use the command below to serve the current directory:

deno run --allow-net --allow-read https://deno.land/std@0.83.0/http/file_server.ts web-apis
Command to serve the current directory
  • --allow-net: To allow network access. ...