Skip to content

docs: add ES module note to packages and modules page#1976

Open
sripavantejb wants to merge 1 commit into
npm:mainfrom
sripavantejb:docs-add-es-module-note
Open

docs: add ES module note to packages and modules page#1976
sripavantejb wants to merge 1 commit into
npm:mainfrom
sripavantejb:docs-add-es-module-note

Conversation

@sripavantejb
Copy link
Copy Markdown

What I changed

  • Added a short note about ES module syntax with import and export.
  • Mentioned common Node.js approaches such as "type": "module" and .mjs.

Why

This helps beginners understand that modules can use both CommonJS and modern ES module syntax in Node.js projects.

Fixes #1338

Copilot AI review requested due to automatic review settings May 30, 2026 07:43
@sripavantejb sripavantejb requested review from a team and leobalter as code owners May 30, 2026 07:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add instructions for ES6 modules for this page

1 participant