CommonJS
0 questions
Node's original synchronous module system: require and module.exports, the resolution algorithm, the module cache, and the friction of interoperating with ESM. Interviewers ask because most of npm's history is CommonJS, and understanding it is what lets you explain a 'require of an ES Module is not supported' error.
questions
0 questions
explore
- Module Cachingempty
- ESM Interopempty