Nezir Zahirovic
Nezir Zahirovic

Node Modules at War: Why CommonJS and ES Modules Can’t Get Along

In Node 14, there are now two kinds of scripts: there are old-style CommonJS (CJS) scripts and new-style ESM scripts (aka MJS). CJS scripts use require() and module.exports.


Node Modules at War: Why CommonJS and ES Modules Can’t Get Along #javascriptba #javascript #nodejs #reactjs #angularjs #vuejs #meteorjs #typescript #jquery #emberjs #denojs #bosnia