Adding Dependencies to the Project

Learn about the Deno dependencies that we’ll use and others that are available to us.

Standard libraries

A common file we need to import is from https://deno.land/std@0.117.0/http/server.ts, located at std@0.117.0/http. This is a reference to the HTTP module under Deno’s standard library (std) version 0.117.0.

Like the HTTP module, there are a lot of standard Deno modules. Some of the most common are the following:

  • fs: This module manipulates the file system.
  • log: This module is a logger for Deno.
  • uuid: This module is generated and handled by Deno, and it looks like cf50b876-1bce-11ed-861d-0242ac120002.
  • ws: This module allows for work with WebSockets.

These modules are provided and maintained by the Deno team, which is why they’re standard, and they cover most of the basic use cases for creating simple applications.

We can find the complete list on the official Deno website. Feel free to take a look and see which libraries you might want to use. We’ll take a look at some of the example standard libraries provided to us by Deno in the following sections.

Get hands-on with 1200+ tech skills courses.