npm

6 posts tagged “npm”.

  1. 2025
  2. Publishing a simple client-side JavaScript package to npm with GitHub Actions

    The code is in simonw/prompts-js on GitHub. The NPM package is prompts-js. A simple single file client-side package For this project, I wanted to create an old-fashioned JavaScript file that you could…

    2 min read
  3. Running self-hosted QuickJS in a browser

    I want to try using QuickJS compiled to WebAssembly in a browser as a way of executing untrusted user-provided JavaScript in a sandbox. My plan is to host it locally, not load it from a CDN.

    1 min read
  4. 2024
  5. get-graphql-schema

    The GraphQL schema language is a concise way to represent the available schema provided by a GraphQL endpoint.

    1 min read
  6. Publishing a Web Component to npm

    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.

    2 min read
  7. Upgrading packages with npm

    There's a new version of Vite out (3.0) and I wanted to upgrade my datasette-table package to use it. I mainly followed the guide on Update all the Node.js dependencies to their latest version to work…

    1 min read
  8. 2023
  9. Annotated package.json for idb-keyval

    Jake Archibald pointed to his for as a "modernish example" of NPM packaging on Twitter this morning. I've been frustrated at my lack of understanding of for too long, so I decided to do some research…

    1 min read