1. Run an npm binary with Bun instead of Node

    The executable in `node_modules/.bin` is often a shell shim that explicitly starts Node. Running the shim with Bun does not change that.

  2. Build-time globals in Vite without the baggage

    Vite’s `define` option gives you globally available constants without mutable global state, and lets the minifier erase code you do not ship.

  3. Transparency checkerboard with CSS gradients

    Recreate the familiar image-transparency checkerboard with a few layered CSS gradients. No background image required.

  4. It’s 2026, are we still doing CSS resets?

    CSS resets are still useful, but mine has become less about removing browser styles and more about setting a few practical defaults. Here is the small, slightly aggressive reset I tend to start projects with.

  5. CSS overscroll-behavior and swipe gestures on macOS

    Disable macOS's rubber-band scrolling without sacrificing your browser's back and forward swipe gestures.

  6. Replace a transitive package with another package using pnpm

    Sometimes a dependency brings in a package that is compatible enough to replace, but is larger or less maintained than an alternative. With pnpm, you can replace that transitive dependency without forking or patching its consumer.

  7. Low-tech icon setup in react

    Super simple but manual icon system.

  8. Optional chaining operator in JavaScript

    A short an sweet guide into optional chaining operator in JavaScript.

  9. JavaScript logical operators and the new nullish coalescing operator

    The nullish coalescing operator is the newest addition to the JavaScript logical operator family. It was published in 2020.

  10. Sort an array with another array

    Here’s how to use the order or a config array to sort another array, using the JavaScript language.