Tutorial 2 - Package Management and the Deno CLI
In this tutorial, we will take you to an in-depth look at the new package registry created by the Deno team, known as the JavaScript Registry (JSR). We’ll explore its features, benefits, and how it seamlessly integrates into the Deno ecosystem.
As you progress through the tutorial, you will learn how to effectively manage packages and dependencies in Deno. This includes mastering the use of import maps, which simplify how you handle module imports, as well as familiarising yourself with several important Deno commands that will enhance your development workflow.
By the end of this tutorial, you should feel well-prepared for the journey ahead, equipped with the knowledge and skills needed to tackle your next project with confidence!
For technical help on the StackUp platform & quest-related questions, join our Discord, head to the 🆘 | quest-help-forum channel and look for the correct thread to ask your question.
⚠️ This campaign will only cover Linux or MacOS platforms. If you are a Windows user, please use GitHub Codespaces for a uniform and streamlined developer experience.
Prerequisites
- Finished Quest 1
- Familiarity with Javascript and Typescript
Helpful prior knowledge
- Finished Quest 1
- Familiarity with Javascript and Typescript
Learning Outcomes
You will be able to:
- Navigate the JSR
- Explain the use cases of Import Maps
- Use the commonly used Deno CLI commands
Tutorial Steps
Total steps: 12
-
Step 1: Javascript Registry (JSR)
-
Step 2: Importing a dependency
-
Step 3: Importing local modules and files
-
Step 4: Import Syntax
-
Step 5: HTTP Imports
-
Step 6: Import Maps
-
Step 7: Adding Dependencies | Essential Deno Commands
-
Step 8: Formatting Code | Essential Deno Commands
-
Step 9: Linting Code | Essential Deno Commands
-
Step 10: Watch Flag | Essential Deno Commands
-
Step 11: Upgrading and Downgrading Deno | Essential Deno Commands
-
Step 12: Stacking It Up!
Find articles to support you through your journey or chat with our support team.
Help Center