To use existing libraries, or break up your project into modules, you need imports. Here's how to import from npm, node_modules (using your existing package manager), local files, remote URLs, as well as dynamic imports and implicit imports of recommended libraries (such as D3, Plot, DuckDB, etc.)
00:00 – Introduction
00:17 – Using import (rather than require)
00:29 – Import from npm
01:02 – Import from node_modules
01:25 – Import from local paths
01:45 – Import from remote URLs
02:00 – Dynamic imports
02:19 – Implicit imports and recommended libraries
02:39 – Summary and outro
Get started with Observable Framework: https://observablehq.com/framework/