Simon Willison: TILs on npm

Atom feed for npm

npm Running self-hosted QuickJS in a browser - 2024-03-20

I want to try using QuickJS compiled to WebAssembly in a browser as a way of executing untrusted user-provided JavaScript in a sandbox. …

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. …