Since 2009, the CommonJS project has significantly influenced JavaScript's application beyond web browsers, particularly in backend development, due to its robust API and standard library akin to those in languages like Python and Java. This framework has enabled JavaScript's use in server-side applications, command-line tools, and hybrid applications, with Node.js incorporating CommonJS modules by default through the require() function. However, ECMAScript modules (ESM), a more recent addition to the JavaScript specification, aim to standardize module loading across JavaScript applications, presenting a challenge due to their asynchronous loading nature compared to the synchronous loading of CommonJS. The transition to ESM involves adapting codebases by converting js files to mjs, changing exports to the ESM export statement, and using import statements in place of require(). Node.js supports ESM natively from version 12 onward, and additional support for older versions is facilitated through the ESM package. This package allows for the integration of ESM in environments where native support is absent, ensuring compatibility and compliance with the Node ES module specification.