-
Node Modules at War: Why CommonJS and ES Modules Can’t Get Along
Node Modules at 'War': Why CommonJS and ES Modules Can’t Get Along — As a Node developer you’ll certainly be familiar with CommonJS, the module format system Node uses. ES Modules, however, are an official, standardized way to bring modules to JavaScript and Node has varying (and experimental) support for them. What’s the difference? Why does it matter? And how can you deal with the existence of both? (And, no, there’s not really a ‘war’ 🙂)