Deno both supports and absolutely does not support CommonJS 😅

1️⃣ https://docs.deno.com/examples/cjs_to_esm_tutorial/
2️⃣ https://deno.com/blog/commonjs-is-hurting-javascript
3️⃣ https://docs.deno.com/runtime/fundamentals/node/#commonjs-support

Updating from CommonJS to ESM If your Node.js project uses CommonJS modules (e.g. it uses require), you'll need to update your code to use ECMAScript modules (ESM) to run it in Deno. This guide will help you update your code to use ESM syntax. CommonJS support Deno supports CommonJS modules by default. Note: Deno's permission system still applies to CommonJS code. You may need --allow-read because Deno probes package.json and nodemodules to resolve CommonJS modules.