Returns the nearest folder where a package.json file is present
(If you're searching for the farthest, use the getCurrentPackageRoot function)
process.cwd() Copy
process.cwd()
Returns the nearest folder where a package.json file is present
(If you're searching for the farthest, use the getCurrentPackageRoot function)