🔰CommonJS

the standard used in Node.js for working with modules.

JSmodule ⟩ CommonJS

  • loaded synchronously and processed in the order the JS runtime finds them.

  • was invented keeping server-side JS in mind.

  • is not suitable (❓) for the client-side.

  • the npm ecosystem is based on the CommonJS module system.

Last updated

Was this helpful?