iya-sts
    Preparing search index...

    Variable packageDir

    packageDir: (name: string) => string = ...

    Type Declaration

      • (name: string): string
      • Finds where an npm package is installed, walking the node_modules directories require would, in the same order.

        Parameters

        • name: string

          the package's name

        Returns string

        its directory, or null when it is not installed