Simon Willison: TILs on npm

npm Upgrading packages with npm - 2022-07-13

There's a new version of Vite out (3.0) and I wanted to upgrade my datasette-table package to use it. …

npm Annotated package.json for idb-keyval - 2022-02-10

Jake Archibald pointed to his package.json for idb-keyval as a "modernish example" of NPM packaging on Twitter this morning. …

npm Publishing a Web Component to npm - 2021-11-28

I tried this for the first time today with my highly experimental datasette-table Web Component. Here's the source code for version 0.1.0. …