Re:Deno 1.34: Deno compile supports NPM packages
by jitl on Thursday May 25, 2023 @12:11PM
(#36072585)
Supporting NPM allows the entire ecosystem to gradually migrate from CommonJS/NPM packages to ESM/Deno imports.
New developers in Deno will still write pure code - not NPM code that has slow require; they don’t bear any mental complexity - it’s only legacy code that pays a runtime complexity cost.
Goal #2 (after security) was to simplify the module system, and the very first thing he said about that was no node compatibility.
[0] https://www.youtube.com/watch?v=M3BM9TB-8yA