ECMAScript Modules in Deno @deno_land
ECMAScript Modules in Deno  @deno_land
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
ECMAScript Modules in DenoDenos New Private RepositoriesDeno v1.31: package.json supportAnnouncing Deno 2Office Hours 2023-08-10 with Bartek Iwańczukpublishing a TypeScript module to npm vs. JSRHow to build a React app with Vite and DenoCreate a coding sandbox from your browser. #coding #programmingWhats new in Deno Deploy playgroundsWe Accidentally Hosted a Dinosaur ConferenceWebGPU Windowing in DenoModern JavaScript in Jupyter notebooks?!
Deno |

ECMAScript Modules in Deno

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER