Skip to content

doc: doc/api/modules.md needs a better explanation of exports #9840

@Trott

Description

@Trott
  • Version: v8.0.0-pre
  • Platform: all
  • Subsystem: doc

The Modules doc needs a better explanation of the utility of exports vs. module.exports. If that's too much detail for the API doc, then perhaps we can write a guide in doc/guides and link to it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    docIssues and PRs related to the documentations.good first issueIssues that are suitable for first-time contributors.moduleIssues and PRs related to the module subsystem.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions