Uploaded October 2024 | Updated September 2026, 3 weeks ago
In this video, we explore how Deno handles ECMAScript modules (ESM) natively, simplifying module management. Learn to create and import modules using relative paths, leveraging default exports, and utilizing ECMAScript features. Import libraries from various sources, including JSR, npm, and URLs. Finally, we cover Deno's caching features for remote modules, enhancing efficiency and supporting offline workflows.
00:00 Introduction to Deno and ECMAScript Modules
00:18 Setting Up Your Project
00:33 Importing and Exporting Modules
01:06 Using Relative Paths and File Extensions
01:28 Exporting Default and Other Data Types
01:56 Utilizing Import Meta
02:24 Importing from JSR and npm
04:00 Importing from URLs and Caching Modules
04:42 Understanding Deno's Cache System
Source code can be found here: github.com/MoonHighway/deno-2-course
Deno is an all-in-one batteries included JavaScript and TypeScript toolchain.
Website: deno.com
GitHub: github.com/denoland
Discord: discord.gg/deno
Twitter: https:/twitter.com/deno_land
In this video, we explore how Deno handles ECMAScript modules (ESM) natively, simplifying module management. Learn to create and import modules using relative paths, leveraging default exports, and utilizing ECMAScript features. Import libraries from various sources, including JSR, npm, and URLs. Finally, we cover Deno's caching features for remote modules, enhancing efficiency and supporting offline workflows.
00:00 Introduction to Deno and ECMAScript Modules
00:18 Setting Up Your Project
00:33 Importing and Exporting Modules
01:06 Using Relative Paths and File Extensions
01:28 Exporting Default and Other Data Types
01:56 Utilizing Import Meta
02:24 Importing from JSR and npm
04:00 Importing from URLs and Caching Modules
04:42 Understanding Deno's Cache System
Source code can be found here: github.com/MoonHighway/deno-2-course
Deno is an all-in-one batteries included JavaScript and TypeScript toolchain.
Website: deno.com
GitHub: github.com/denoland
Discord: discord.gg/deno
Twitter: https:/twitter.com/deno_land










