Node’s new built-in support for TypeScript
Node.js v23.6.0 introduces built-in TypeScript support via type stripping, explaining how it works and key differences from traditional TypeScript.
Node.js v23.6.0 introduces built-in TypeScript support via type stripping, explaining how it works and key differences from traditional TypeScript.
A guide to importing frontend JavaScript libraries without using a build system, covering ES Modules, classic scripts, and CommonJS.
A guide on creating an npm package with TypeScript that supports both CommonJS and ECMAScript Modules (ESM).
A developer's guide to upgrading a personal website from Eleventy v2 to the new v3 alpha, focusing on the switch to ESM.
A guide to publishing an npm package that supports both ESM and CommonJS modules using TypeScript, including dual tsconfig files and package.json exports.
A developer's analysis of the CommonJS vs. ESM debate in JavaScript, explaining the differences, benefits, and drawbacks of each module system.
A guide to getting started with ESModules in Node.js, covering setup and common errors.
Learn how to use modules in Node.js to organize code into separate files, export functionality, and create a modular application structure.
A quick overview of JavaScript module formats: IIFE for browsers, CommonJS for Node.js, and ES6 modules for modern frontend builds.
Explains how to import non-ESM JavaScript libraries (globals, CommonJS) into ES Modules for client-side use, with practical examples.