Skip to content

Glossary: Algorithms Beyond the Basics in JavaScript

CommonJS

Also written: require

The traditional way of loading modules in Node.js, using `require(...)` instead of `import`. Files written this way need no `package.json` and run with just `node file.js`.

Where the book teaches it

Related terms

Node.jsnode:fs