process 进程
源代码: lib/process.js
process 对象提供有关当前 Node.js 进程的信息并对其进行控制。
作为全局变量,它始终可用于 Node.js 应用程序,而无需使用 require()。
也可以使用 require() 显式地访问它:
const process = require('process');Source Code: lib/process.js
The process object is a global that provides information about, and control
over, the current Node.js process. As a global, it is always available to
Node.js applications without using require(). It can also be explicitly
accessed using require():
const process = require('process');