Add ESM content in node.js roadmap (#6368)
* Update esm@mKccfWOhC1Aj4VnaOqryA.md * Update esm@mKccfWOhC1Aj4VnaOqryA.md * Update esm@mKccfWOhC1Aj4VnaOqryA.mdpull/6360/head^2
parent
c9a0de250e
commit
8abe0396a3
1 changed files with 7 additions and 1 deletions
@ -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) |
||||
|
Loading…
Reference in new issue