Add process.cwd content (#1842)

* add defination about process-cwd

* Update content/roadmaps/107-nodejs/content/105-nodejs-working-with-files/102-process-cwd.md

Co-authored-by: Muhammad Anas <anas.s@automatedbusiness.solutions>
Co-authored-by: Kamran Ahmed <kamranahmed.se@gmail.com>
pull/1845/head
Muhammad Anas Sarfraz 2 years ago committed by GitHub
parent 74b28c3aae
commit 93b4b6741c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 8
      content/roadmaps/107-nodejs/content/105-nodejs-working-with-files/102-process-cwd.md

@ -1 +1,7 @@
# Process cwd
# process.cwd()
The `process.cwd()` method returns the current working directory of the Node.js process.
<ResourceGroupTitle>Free Content</ResourceGroupTitle>
<BadgeLink colorScheme='blue' badgeText='Read' href='https://nodejs.org/api/process.html#processcwd'>Official Website</BadgeLink>
<BadgeLink colorScheme='yellow' badgeText='Read' href='https://stackoverflow.com/questions/9874382/whats-the-difference-between-process-cwd-vs-dirname'>What's the difference between process.cwd() vs __dirname?</BadgeLink>
Loading…
Cancel
Save