JavaScript Modules and Packages: From Script Tags to ESM

How JavaScript moved from global script tags and ad-hoc registries to native ES modules and a package manager, and what that means for everyday code.