From 8abe0396a3dc70cfc93856ceb6865472d6faef2f Mon Sep 17 00:00:00 2001 From: Anish shetty k Date: Mon, 5 Aug 2024 14:21:42 +0530 Subject: [PATCH] Add ESM content in node.js roadmap (#6368) * Update esm@mKccfWOhC1Aj4VnaOqryA.md * Update esm@mKccfWOhC1Aj4VnaOqryA.md * Update esm@mKccfWOhC1Aj4VnaOqryA.md --- .../roadmaps/nodejs/content/esm@mKccfWOhC1Aj4VnaOqryA.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/data/roadmaps/nodejs/content/esm@mKccfWOhC1Aj4VnaOqryA.md b/src/data/roadmaps/nodejs/content/esm@mKccfWOhC1Aj4VnaOqryA.md index 17c157090..52db24b45 100644 --- a/src/data/roadmaps/nodejs/content/esm@mKccfWOhC1Aj4VnaOqryA.md +++ b/src/data/roadmaps/nodejs/content/esm@mKccfWOhC1Aj4VnaOqryA.md @@ -1 +1,7 @@ -# ESM \ No newline at end of file +# 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)