how to find computer root directory nodejs code example Example: node get root directory path.resolve("./")