JavaScript & TypeScript

Chapter 6: Modules (ESM vs CommonJS), Bundlers & Package Security

Comparing static ES Modules against legacy CommonJS, understanding `package.json` resolution and tree-shaking, and defending Node/JS apps against npm supply-chain attacks.