Skip to content

Latest commit

 

History

History
13 lines (9 loc) · 203 Bytes

process_cwd.md

File metadata and controls

13 lines (9 loc) · 203 Bytes
  • Returns: {string}

The process.cwd() method returns the current working directory of the Node.js process.

console.log(`Current directory: ${process.cwd()}`);