mirror of
https://github.com/kamranahmedse/developer-roadmap.git
synced 2025-09-02 13:52:46 +02:00
Add ESM content in node.js roadmap (#6368)
* Update esm@mKccfWOhC1Aj4VnaOqryA.md * Update esm@mKccfWOhC1Aj4VnaOqryA.md * Update esm@mKccfWOhC1Aj4VnaOqryA.md
This commit is contained in:
@@ -1 +1,7 @@
|
|||||||
# ESM
|
# ESM
|
||||||
|
|
||||||
|
ESM (ECMAScript Modules) is a standardized module system in JavaScript that allows for the organized, maintainable, and reusable structuring of code. It uses import and export statements for including and sharing functions, objects, or primitives between files. ESM supports static analysis, enabling better optimization and tooling, and is always in strict mode to reduce common JavaScript issues. Node.js fully supports ESM, which can be used with .mjs file extensions or configured in the package.json for .js files, making it easier to write modular and efficient JavaScript applications.
|
||||||
|
|
||||||
|
Visit the following resources to learn more:
|
||||||
|
|
||||||
|
- [@article@esm documentation on nodejs org](https://nodejs.org/api/esm.html)
|
||||||
|
Reference in New Issue
Block a user