process 进程nodejs中文网 process 进程process.cwd() 方法返回 Node.js 进程的当前工作目录。 onst { cwd } = require('process');console.log(`Current directory: ${cwd()}`);