@karmaniverous/jeeves
    Preparing search index...

    Function checkRegistryVersion

    • Check the npm registry for the latest version of a package.

      Parameters

      • packageName: string

        The npm package name (e.g., '@karmaniverous/jeeves').

      • cacheDir: string

        Directory to store the cache file.

      • ttlSeconds: number = 3600

        Cache TTL in seconds (default 3600).

      Returns string | undefined

      The latest version string, or undefined if the check fails.