diff --git a/doc/api/process.md b/doc/api/process.md index 0a7f85700ae85a..f447aa66914ca4 100644 --- a/doc/api/process.md +++ b/doc/api/process.md @@ -1513,6 +1513,18 @@ emitMyWarning(); // Emits nothing ``` +## `process.entrypoint` + + + +* Type: {URL | undefined} + +The entry point that Node.js was started with. Worker threads inherit this +value. If Node.js was started without an entry point, such as in the REPL, the +value is {undefined}. + ## `process.env`