May 2018
Intermediate to advanced
492 pages
12h 3m
English
Node.js's module implementation is strongly inspired by, but not identical to, the CommonJS module specification. The differences between them might only be important if you need to share code between Node and other CommonJS systems.
Among the changes in ES2015 is a standard module format meant for use everywhere. It has some interesting features, and by existing everywhere it should advance the state of JavaScript. Since it is incompatible with the CommonJS/Node.js module system, adopting ES2015 modules in Node.js means reworking our practices and accepted norms.
As a practical matter, Node.js programmers will be dealing with both module formats for some time during a transition period. Our long-term goal ...
Read now
Unlock full access