how to get cwd nodejs

JavaScript
process.cwd()
Source

Also in JavaScript: