top of page
common.js

Common.js 【Linux】

: Used to synchronously load and import another module.

CommonJS organizes code into separate files where each file is treated as its own module with a private scope. It relies on two main functions for managing code: common.js

CommonJS is a standard for structuring JavaScript modules, primarily used in server-side development with Node.js. It was the default module system for Node.js long before the official ECMAScript Modules (ESM) standard was established. How CommonJS Works : Used to synchronously load and import another module

or exports : Used to expose variables, functions, or objects from a module so they can be used elsewhere. NodeJS — Using ES Modules Instead of CommonJS common.js

Contact

MASA Group

8 Rue de la Michodière,

75002 Paris, France

​​

Tel: +33 (0) 1 55 43 13 20

Monochrome-white.png

© 2026 Golden Matrix. All rights reserved.

Votre message a bien été envoyé, merci !

bottom of page