how to get project root directory in node code example Example: node get root directory path.resolve("./")