iya-sts
    Preparing search index...

    Function load

    • Returns the version this process reports: the stamped record if the artifact has one, otherwise one computed now.

      With no directory the result is cached for the life of the process, so every module reports the same record.

      Parameters

      • dir: any

        optional; the directory to read version.json from, the package root when omitted

      Returns any

      the version record