Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

doc: Should runMain() and globalPaths of module add in doc? #32643

Open
zjffun opened this issue Apr 3, 2020 · 0 comments
Open

doc: Should runMain() and globalPaths of module add in doc? #32643

zjffun opened this issue Apr 3, 2020 · 0 comments
Labels
doc Issues and PRs related to the documentations. module Issues and PRs related to the module subsystem.

Comments

@zjffun
Copy link

zjffun commented Apr 3, 2020

By chance, I find runMain() method was used in babel-node but it can't be found in API.

I also checked issue and code, but nothing.

$ git grep runMain $(git rev-list --all doc/api/modules.md) -- doc/api/modules.md
# nothing

$ git grep globalPaths $(git rev-list --all doc/api/modules.md) -- doc/api/modules.md
# nothing

$ git grep builtinModules $(git rev-list --all doc/api/modules.md) -- doc/api/modules.md
534c204e223d85c44cd6b1b642f29143095077f6:doc/api/modules.md:### `module.builtinModules`
534c204e223d85c44cd6b1b642f29143095077f6:doc/api/modules.md:const builtin = require('module').builtinModules;
a220202a47ee87d1ef91fa8f65a3e048f298b7c1:doc/api/modules.md:### `module.builtinModules`

However the builtinModules property near globalPaths can be found. Should runMain() and globalPaths of module add to doc? If needed, I would be pleased to write them.

@targos targos added the doc Issues and PRs related to the documentations. label Dec 27, 2020
@targos targos added the module Issues and PRs related to the module subsystem. label Aug 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
doc Issues and PRs related to the documentations. module Issues and PRs related to the module subsystem.
Projects
None yet
Development

No branches or pull requests

2 participants