1
0
mirror of https://github.com/kamranahmedse/developer-roadmap.git synced 2025-08-31 21:11:44 +02:00

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>
This commit is contained in:
Muhammad Anas Sarfraz
2022-09-22 14:21:59 +04:00
committed by GitHub
parent 74b28c3aae
commit 93b4b6741c

View File

@@ -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>