Documentation
    Preparing search index...
    • Returns the nearest folder where a package.json file is present

      (If you're searching for the farthest, use the getCurrentPackageRoot function)

      Parameters

      • cwd: string = ...

      Returns string | undefined

      process.cwd()