Skip to content

Q1: CommonJS 和 ES Module 有什么区别?为什么 Node.js 会转向 ESM?

约 2524 字大约 8 分钟

Node.jsCommonJSES ModulesTypeScript

2026-02-13