2 ms·
CommonJS is not an official standard that is part of the language. It works, but it's also competing with AMD. ES6 Modules officially add modules to the langua
by ripter 12y ago
CommonJS is not an official standard that is part of the language. It works, but it's also competing with AMD.
ES6 Modules officially add modules to the language. It gives a standard that should work in browser and in node. It's heavily inspired by CommonJS and AMD.