Skip to content

doc: clarify execution timing and common use cases of --require flag#62041

Open
kishanngowda wants to merge 1 commit intonodejs:mainfrom
kishanngowda:docs-improve-cli-example
Open

doc: clarify execution timing and common use cases of --require flag#62041
kishanngowda wants to merge 1 commit intonodejs:mainfrom
kishanngowda:docs-improve-cli-example

Conversation

@kishanngowda
Copy link

Improves clarity of the --require CLI flag documentation.

Adds a short explanation clarifying that the module is executed
before the main application entry point, and provides common
real-world use cases such as configuration setup, instrumentation,
or polyfills.

This change improves readability without modifying behavior.

@nodejs-github-bot nodejs-github-bot added cli Issues and PRs related to the Node.js command line interface. doc Issues and PRs related to the documentations. labels Feb 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cli Issues and PRs related to the Node.js command line interface. doc Issues and PRs related to the documentations.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants