Function identifyPackageFile

  • Try to determine the path of the package.json file for the current running module. Iterates through parent directories of require.main.filename until it finds a package.json. This may result in false positives.

    Returns

    The path to a package.json file, or undefined if one could not be found.

    Returns string | undefined

Generated using TypeDoc