process. get current directory of node application code example Example: how to get cwd nodejs process.cwd()