JavaScript & TypeScript

Every post we follow in this topic, newest first.

Recent posts

Newest first
  1. Noscript November challenge

    Noscript November challenged the author to block JavaScript by default, revealing most websites were unusable without it.

  2. Another Q&A with JavaScript for Everyone author, Mat Marquis

    Mat Marquis discusses his motivations for updating "JavaScript for Everyone" and offers advice for developers navigating industry changes and the rise of LLMs.

  3. Caching CRLs in TypeScript

    Caching verified CRL summaries in TypeScript optimizes revocation checks by storing essential data until the CRL's NextUpdate time.

  4. JavaScript for Everyone: New Game+

    JavaScript for Everyone has been updated with new modules, re-worked lessons, and practical exercises based on community feedback.

  5. Did my AI-built frontend need more libraries?

    An AI-built frontend, initially lean with custom solutions, was migrated to established libraries, resulting in more files and dependencies but comparable user experience.

  6. The AI cost of JavaScript frameworks

    A benchmark evaluates JavaScript frameworks by having AI agents build a Pokémon app, measuring development time, tokens, code, and performance.

  7. TypeScript 7.1 and the ts-loader v10 beta

    The ts-loader v10 beta, a rewrite using TypeScript 7.1's new native API, offers performance improvements and bug fixes.

  8. Testing AI-Generated Code: Lint the Pattern, Test the Decision

    AI-generated code tests are streamlined by using linters to enforce patterns and a shared harness for setup, focusing tests on file-specific decisions.

  9. Dead Code Shouldn't Exist

    This talk discusses the process of removing 28,000 lines of dead code from a project using a gradual approach.

  10. Cloudflare killed Deno and look I’m on TV!

    Cloudflare announced it will end development of the Deno runtime in one year, supporting it with bug fixes and security updates.

  11. Introducing css-typed-om, a complete and WPT-tested polyfill for CSS Typed OM

    The css-typed-om polyfill provides a complete, WPT-tested solution for using the CSS Typed Object Model in JavaScript, addressing inconsistent browser support.

  12. WebSocket servers in JavaScript: Node.js, Bun and Deno in 2026

    A benchmark compares Node.js, Bun, and Deno WebSocket servers using uWebSockets.js and the ws package, revealing Node.js with uWebSockets.js as the fastest.

  13. caniname: CLI tool to check project name availability across Netlify and NPM (and other sources)

    caniname is a CLI tool that automates checking Netlify subdomain and NPM package name availability.

  14. Cross Operating System Test Probes with GitHub Actions

    A GitHub Actions workflow was developed to run targeted test subsets on demand across operating systems to resolve Windows-specific failures during a TypeScript port.

  15. Bringing Microsoft Internet Explorer’s proprietary “Interpage Transitions” back to Modern Browsers using the View Transition API

    A library called ie-page-transitions recreates Microsoft Internet Explorer’s proprietary Interpage Transitions using the modern View Transition API.

  16. Electron to PWA: There and Back Again

    An EPUB editor developer shares their year-long experience building with Electron and then attempting a rewrite as a Progressive Web App.

  17. Ship cleaner packages (without the ./dist or ./src folder) by publishing a subfolder to NPM

    Publishing NPM packages can be streamlined by using `npm publish ./dist` to avoid leaking build output paths into the public API.

  18. The V8 JavaScript Runtime Undermined My Constant-Time JavaScript Library

    A side-channel vulnerability in the constant-time-js library was discovered due to V8's ToBoolean mechanism and its handling of specific values.

  19. The Pulse: We need to talk about migrations with AI

    OpenAI's case study highlights how AI tools like Codex enabled Asana to migrate its testing system, potentially saving millions and significantly reducing project timelines.

  20. Migrating ts-loader to TypeScript 7.1 with AI

    Migrating ts-loader to support TypeScript 7.1, rewritten in Go, involved using AI tools like GitHub Copilot and Claude for the porting process.

  21. Docusaurus: Workaround for WhatsApp Open Graph Image Bug

    Docusaurus's faster build pipeline minifies HTML and strips quotes from og:image attributes, breaking WhatsApp previews, but can be fixed by disabling the SWC HTML minimizer.

  22. Introducing Microlighter

    Microlighter is a new client-side syntax highlighter leveraging the CSS Custom Highlights API for DOM-free styling and Textmate grammars for broad language support.

  23. PWAs: Personal Web Apps

    Progressive Web Apps (PWAs) offer an ideal format for personal and family apps, prioritizing offline functionality and client-side rendering for easier maintenance and deployment.

  24. Adding Go's defer to the TypeScript Compiler

    Adding Go's defer statement to the TypeScript compiler involves parsing, type checking, and transforming ASTs to generate runtime JavaScript for delayed function execution.

  25. Agentic Coding: Bet on the Primitives

    Agentic coding enables developers to bet on unopinionated primitives and a thin custom layer, reversing the trend of relying on high-level libraries.

  26. Azure DevOps: merging pull requests with conventional commits

    Azure DevOps pull requests can be configured to automatically merge with custom commit messages using the API and build validations.

  27. npmx.dev: with a little help from my friends

    npmx.dev is a new, community-driven reimagining of the npmjs.com website, actively seeking contributions of all sizes.

  28. Only Node.js subpaths with no-restricted-imports and perfectionist/sort-imports

    Node.js subpath imports are explored with ESLint's no-restricted-imports and perfectionist/sort-imports for consistent code style.

  29. List Pipelines with the Azure DevOps API

    Listing Azure DevOps pipelines with the official Node.js client has pagination issues, so this post implements an alternative using the Azure DevOps API directly.

  30. TypeScript is going Go: Why it’s the pragmatic choice

    TypeScript is being ported to Go, aiming for an order of magnitude performance increase in its type checker, compiler, and language services.

  31. Azure DevOps: merging pull requests and setting autocomplete with the API

    The Azure DevOps API can be used with the Node.js client to merge pull requests and set them to autocomplete automatically.

  32. Microsoft Graph client: how to filter by endswith

    Filtering Microsoft Graph client queries by endswith requires setting the ConsistencyLevel header to eventual and using the $count query parameter.

  33. ts-loader goes webpack 4... again!

    ts-loader version 9.6.0 now supports both webpack 5 and webpack 4, reintroducing compatibility for webpack 4 users.

  34. Keeping front end and back end in sync with NSwag generated clients

    NSwag generates front-end clients from OpenAPI specs, enabling integration tests to synchronize polyglot front-end and back-end codebases.

  35. Full-stack static typing with OpenAPI TypeScript and Microsoft.AspNetCore.OpenApi

    Microsoft.AspNetCore.OpenApi and openapi-ts enable full-stack static typing by generating OpenAPI specifications and TypeScript clients from .NET Web APIs.

  36. Azure DevOps: pull requests and dynamic required reviewers

    Azure DevOps build validations can be co-opted to dynamically assign and enforce required reviewers for pull requests.

  37. Yargs: statically typed builder commands

    Yargs, a Node.js command-line interface builder, can be used to create statically typed commands with builders in TypeScript by defining argument interfaces.

  38. Using the Screen Capture API to record a browser window

    The Screen Capture API allows recording browser tabs with audio, offering an alternative to QuickTime or Playwright for saving animated web content.

  39. CSS vs. JavaScript

    CSS animations and JavaScript animations are compared, with CSS animations running on a separate thread, while JavaScript animations run on the main thread, impacting performance.