process.cwd()
Also written: cwd
A Node.js function that returns the current working directory, which in a Next.js project is the project folder where you ran `npm run dev`. It is often combined with `path.join` to build a path to a file such as `data/products.json`.