Dependicus API Reference
    Preparing search index...

    Variable FactKeysConst

    FactKeys: {
        BUGS_URL: "bugsUrl";
        COMPARE_URL: "compareUrl";
        DEPRECATED_TRANSITIVE_DEPS: "deprecatedTransitiveDeps";
        DESCRIPTION: "description";
        GITHUB_DATA: "githubData";
        HAS_CATALOG_MISMATCH: "hasCatalogMismatch";
        HOMEPAGE: "homepage";
        IS_DEPRECATED: "isDeprecated";
        IS_FORKED: "isForked";
        IS_PATCHED: "isPatched";
        RAW_REPO_URL: "rawRepoUrl";
        REPOSITORY_URL: "repositoryUrl";
        SIZE_MAP: "sizeMap";
        UNPACKED_SIZE: "unpackedSize";
        URLS: "urls";
        VERSIONS_BETWEEN: "versionsBetween";
    } = ...

    Well-known fact keys used by data sources and consumers.

    Type Declaration

    • ReadonlyBUGS_URL: "bugsUrl"

      Bug tracker URL. string

    • ReadonlyCOMPARE_URL: "compareUrl"

      GitHub compare URL from the installed version to latest. string

    • ReadonlyDEPRECATED_TRANSITIVE_DEPS: "deprecatedTransitiveDeps"

      Names of deprecated transitive dependencies. string[]

    • ReadonlyDESCRIPTION: "description"

      Package description. string

    • ReadonlyGITHUB_DATA: "githubData"

      GitHub metadata: owner, repo, releases, changelog URL. GitHubData

    • ReadonlyHAS_CATALOG_MISMATCH: "hasCatalogMismatch"

      Whether the installed version differs from the catalog pin. boolean

    • ReadonlyHOMEPAGE: "homepage"

      Homepage URL. string

    • ReadonlyIS_DEPRECATED: "isDeprecated"

      Whether this specific version is deprecated on npm. boolean

    • ReadonlyIS_FORKED: "isForked"

      Whether the dependency is an internal fork—this value comes only from custom configuration. boolean

    • ReadonlyIS_PATCHED: "isPatched"

      Whether the installed version has local patches applied. boolean

    • ReadonlyRAW_REPO_URL: "rawRepoUrl"

      Raw repository URL before normalization (e.g. git+https://...). string

    • ReadonlyREPOSITORY_URL: "repositoryUrl"

      Source repository URL (normalized). string

    • ReadonlySIZE_MAP: "sizeMap"

      Map of version string to unpacked size, for all known versions. Record<string, number>

    • ReadonlyUNPACKED_SIZE: "unpackedSize"

      Unpacked tarball size in bytes. number

    • ReadonlyURLS: "urls"

      URL patterns/links for this dependency. Record<string, string> (label -> URL or template with {{name}}/{{version}})

    • ReadonlyVERSIONS_BETWEEN: "versionsBetween"

      All versions between current and latest, oldest first. PackageVersionInfo[]