s
May 2, 2023, 4:47 a.m. |

Simon Willison's Weblog simonwillison.net

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.


Why I built this


I have somewhat unconventional tastes when it comes to JavaScript.


I really, really dislike having to use a local build script when I'm …

cdn cli dependencies download ecmascript esm import javascript modules npm package projects tool

Data Scientist (m/f/x/d)

@ Symanto Research GmbH & Co. KG | Spain, Germany

Enterprise Data Quality, Senior Analyst

@ Toyota North America | Plano

Data Analyst & Audit Management Software (AMS) Coordinator

@ World Vision | Philippines - Home Working

Product Manager Power BI Platform Tech I&E Operational Insights

@ ING | HBP (Amsterdam - Haarlerbergpark)

Sr. Director, Software Engineering, Clinical Data Strategy

@ Moderna | USA-Washington-Seattle-1099 Stewart Street

Data Engineer (Data as a Service)

@ Xplor | Atlanta, GA, United States