From 93b4b6741cff9886210b36723c2700678311c9f4 Mon Sep 17 00:00:00 2001 From: Muhammad Anas Sarfraz Date: Thu, 22 Sep 2022 14:21:59 +0400 Subject: [PATCH] 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 Co-authored-by: Kamran Ahmed --- .../105-nodejs-working-with-files/102-process-cwd.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/content/roadmaps/107-nodejs/content/105-nodejs-working-with-files/102-process-cwd.md b/content/roadmaps/107-nodejs/content/105-nodejs-working-with-files/102-process-cwd.md index 1140e2200..43f09bdbc 100644 --- a/content/roadmaps/107-nodejs/content/105-nodejs-working-with-files/102-process-cwd.md +++ b/content/roadmaps/107-nodejs/content/105-nodejs-working-with-files/102-process-cwd.md @@ -1 +1,7 @@ -# Process cwd \ No newline at end of file +# process.cwd() + +The `process.cwd()` method returns the current working directory of the Node.js process. + +Free Content +Official Website +What's the difference between process.cwd() vs __dirname? \ No newline at end of file