Simon Willison’s Weblog

Subscribe

Items tagged ecmascript in May, 2023

Filters: Year: 2023 × Month: May × ecmascript × Sorted by date


download-esm: a tool for downloading ECMAScript modules

I’ve built a new CLI tool, download-esm, which takes the name of an npm package and will attempt to download the ECMAScript module version of that package, plus all of its dependencies, directly from the jsDelivr CDN—and then rewrite all of the import statements to point to those local copies.

[... 1240 words]

Types

Years

Months

Tags