doc: doc/api/modules.md needs a better explanation of exports
#9840
Labels
doc
Issues and PRs related to the documentations.
good first issue
Issues that are suitable for first-time contributors.
module
Issues and PRs related to the module subsystem.
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 indoc/guides
and link to it.The text was updated successfully, but these errors were encountered: