Workers Node.js Support

Quick and dirty audit of Node.js support across Workers. See https://workers-nodejs-compat-matrix.pages.dev

Install

Install Volta:

curl https://get.volta.sh | bash

Install Deno:

# see https://docs.deno.com/runtime/manual/getting_started/installation for alternatives
brew install deno

Install Bun:

# see https://bun.sh/docs/installation for alternatives
brew install oven-sh/bun/bun

Install the dependencies

pnpm install

Generate the report

Important

Update Bun and Deno, i.e. using brew upgradeon mac.

Important

This requires features from Node v22, so if it isn't your default node version, run it with volta run --node 22 pnpm generate.

  • Update the catalog version in pnpm-workspace.yaml

  • Update the compatibilityDate in workerd/config.capnp

  • Run:

    pnpm update -r
  • Generate the report

    pnpm generate

Serve a local version of the report

pnpm report:dev