GitHub Repository Audit — Archived, Moved & Relicensed Packages avatar

GitHub Repository Audit — Archived, Moved & Relicensed Packages

Pricing

from $2.99 / 1,000 repository audits

Go to Apify Store
GitHub Repository Audit — Archived, Moved & Relicensed Packages

GitHub Repository Audit — Archived, Moved & Relicensed Packages

Compare public npm or PyPI package metadata with the current public GitHub repository to identify archive, move, deprecation, and license signals.

Pricing

from $2.99 / 1,000 repository audits

Rating

0.0

(0)

Developer

w3crawler

w3crawler

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

2 days ago

Last modified

Categories

Features

Limited permissions

Share

Compare public npm or PyPI package metadata with the current public GitHub repository state. The Actor surfaces public signals that a registry page alone may not make obvious: package deprecation, repository archival, repository moves, and license differences. Each saved audit row combines registry identity and declared repository metadata with the current GitHub repository response.

Get started

  1. Open the Actor Store page and select Try for free or open the Input tab.
  2. Add one object per package to packages. Set registry to npm or pypi, enter the package name, and optionally pin a version or supply a repositoryUrl override.
  3. Set maxItems to the number of packages you want audited. The default input audits one npm package.
  4. Start the Actor, open the dataset, and export the saved audits as JSON, CSV, or Excel. Open Run summary (OUTPUT) to check package, flag, and failure counts.

Input

packages is required and must contain at least one package object. All other fields are optional; unsupported field names and out-of-range values are rejected before requests start.

FieldTypeRequired?DefaultMeaning
packagesobject arrayRequired[{"registry":"npm","name":"axios","version":"1.7.9"}]Public npm or PyPI packages to compare with their declared or current public GitHub repository.
maxItemsintegerOptional10Maximum package specifications to process, 1–100.
requestDelayMsintegerOptional250Minimum delay between registry and GitHub requests, 0–5,000 ms.
maxRetriesintegerOptional1Retries for transient public HTTP failures, 0–3.
timeoutSecsintegerOptional30Timeout per public registry or GitHub request, 5–120 seconds.

Each packages entry accepts registry (npm by default, or pypi), name (required, including an npm scope such as @scope/name), version (optional exact version; the registry's latest version is used when omitted), and repositoryUrl (optional public GitHub repository override when registry metadata is incomplete).

Default input:

{
"packages": [
{
"registry": "npm",
"name": "axios",
"version": "1.7.9"
}
],
"maxItems": 10,
"requestDelayMs": 250,
"maxRetries": 1,
"timeoutSecs": 30
}

The Actor reads public npm, PyPI, and GitHub responses. It does not require registry or GitHub credentials.

Output

The dataset contains one row per audited package. Optional fields are omitted when the registry or GitHub does not publish them; values are not inferred, and failed audits are counted in the run summary rather than written as placeholder rows.

FieldTypeAvailabilityMeaning
sourceUrlstringAlwaysPublic GitHub API URL used for the repository audit.
auditCompletebooleanAlwaysWhether both registry and GitHub checks completed.
auditFlagsstring arrayAlwaysMachine-readable flags such as archive, move, deprecation, or license differences; empty when none apply.
packageRegistrystring enumAlwaysRegistry audited: npm or pypi.
packageNamestringAlwaysPackage name exactly as resolved from the registry.
packageVersionstringAlwaysRegistry version audited; may differ from the requested version when the latest version was used.
registrySourceUrlstringAlwaysRegistry metadata endpoint used.
registryLicensestringAlwaysLicense string reported by the registry.
registryDeprecatedbooleanAlwaysWhether the registry marks the package deprecated.
registryDeprecationMessagestringWhen the registry publishes a deprecation messageDeprecation text from the registry.
registryRepositoryUrlstringAlwaysRepository URL declared by the registry.
registryHomepageUrlstringAlwaysHomepage URL declared by the registry.
registryDescriptionstringAlwaysPackage description from the registry.
registryAuthorstringWhen the registry publishes author dataPackage author string from the registry.
githubSourceUrlstringAlwaysPublic GitHub API URL that supplied repository state.
githubRepositoryUrlstringAlwaysPublic GitHub repository page URL.
githubFullNamestringAlwaysCurrent owner/name repository identifier.
githubOwnerLoginstringAlwaysCurrent repository owner login.
githubDescriptionstringAlwaysRepository description at collection time.
githubArchivedbooleanAlwaysWhether GitHub marks the repository archived.
githubDisabledbooleanAlwaysWhether GitHub marks the repository disabled.
githubLicensestringAlwaysLicense name reported by GitHub.
githubLicenseSpdxstringAlwaysSPDX identifier reported by GitHub.
githubDefaultBranchstringAlwaysCurrent default branch.
githubStarsintegerAlwaysStargazer count at collection time.
githubForksintegerAlwaysFork count at collection time.
githubOpenIssuesintegerAlwaysOpen issue count at collection time.
githubCreatedAtstringAlwaysRepository creation time in ISO UTC.
githubUpdatedAtstringAlwaysLast metadata update in ISO UTC.
githubPushedAtstringAlwaysLast push time in ISO UTC.
repositoryExpectedFullNamestringAlwaysowner/name expected from the registry or package name.
repositoryMovedbooleanAlwaysWhether the resolved repository differs from the expected repository.
repositoryRedirectedFromstringWhen GitHub redirected the repository requestOriginal repository URL before the redirect.
repositoryRedirectLocationstringWhen GitHub redirected the repository requestRedirect target URL reported by GitHub.
licenseComparisonstring enumAlwaysRegistry versus GitHub license comparison: match, different, or unknown.
licenseMatchesbooleanAlwaysWhether the compared licenses match.
licenseChangedbooleanAlwaysWhether the comparison found a license change.
scrapedAtstringAlwaysTime the audit row was saved, in ISO UTC.

The example below is a real saved row from the 2026-10-25 run. This package had no redirect or deprecation message, so those optional fields are absent.

{
"sourceUrl": "https://api.github.com/repos/axios/axios",
"auditComplete": true,
"auditFlags": [],
"packageRegistry": "npm",
"packageName": "axios",
"packageVersion": "1.20.0",
"registrySourceUrl": "https://registry.npmjs.org/axios/latest",
"registryLicense": "MIT",
"registryDeprecated": false,
"registryRepositoryUrl": "https://github.com/axios/axios",
"registryHomepageUrl": "https://axios-http.com",
"registryDescription": "Promise based HTTP client for the browser and node.js",
"githubSourceUrl": "https://api.github.com/repos/axios/axios",
"githubRepositoryUrl": "https://github.com/axios/axios",
"githubFullName": "axios/axios",
"githubOwnerLogin": "axios",
"githubDescription": "Promise based HTTP client for the browser and node.js",
"githubArchived": false,
"githubDisabled": false,
"githubLicense": "MIT License",
"githubLicenseSpdx": "MIT",
"githubDefaultBranch": "v1.x",
"githubStars": 109310,
"githubForks": 11946,
"githubOpenIssues": 127,
"githubCreatedAt": "2014-08-18T22:30:27Z",
"githubUpdatedAt": "2026-10-25T18:50:07Z",
"githubPushedAt": "2026-10-23T22:11:48Z",
"repositoryExpectedFullName": "axios/axios",
"repositoryMoved": false,
"licenseComparison": "match",
"licenseMatches": true,
"licenseChanged": false,
"scrapedAt": "2026-10-25T21:07:30.623Z"
}

Run summary

Run summary is stored separately from the dataset in the run's key-value store under OUTPUT.

FieldMeaning
statusActor outcome: SUCCEEDED or FAILED.
runStatusCanonical run status; matches status.
dataStatusCompleteness of saved audits: COMPLETE, PARTIAL, NO_RESULTS, or FAILED.
dataAvailableWhether at least one source-backed audit was saved.
itemCountAudit rows in the dataset.
normalCountNon-diagnostic rows written.
recordsPushedRecords written to the dataset.
diagnosticCountOperational issues recorded without writing dataset rows.
packagesRequestedPackage specifications accepted for processing.
packagesAuditedPackages for which registry and GitHub checks completed.
failedPackagesPackages that could not be audited.
flaggedPackagesAudits with at least one non-empty auditFlags entry.
scrapedAtTime the summary was written, in ISO UTC.
StatusData statusMeaning
SUCCEEDEDCOMPLETEEvery requested package was audited without an operational issue.
SUCCEEDEDPARTIALSome audits were saved, but one or more packages failed or were incomplete.
SUCCEEDEDNO_RESULTSNo package could be resolved to a public audit record.
FAILEDFAILEDA fatal error occurred before any audit was saved.

Example OUTPUT from the saved run:

{
"status": "SUCCEEDED",
"runStatus": "SUCCEEDED",
"dataStatus": "COMPLETE",
"dataAvailable": true,
"itemCount": 1,
"normalCount": 1,
"recordsPushed": 1,
"diagnosticCount": 0,
"packagesRequested": 1,
"packagesAudited": 1,
"failedPackages": 0,
"flaggedPackages": 0,
"scrapedAt": "2026-10-25T21:07:30.699Z"
}

Coverage and limitations

The Actor reads public registry metadata from npm or PyPI and public repository state from GitHub. It does not authenticate to either service, access private packages or private repositories, or bypass access controls. A package must expose or accept a public GitHub repository for the repository comparison to run; package-manager-only audits without a resolvable repository cannot produce GitHub state.

Version handling is deliberate: a pinned version is used for registry deprecation and license comparison, while omitting it uses the registry's latest version. The saved packageVersion records what was actually audited. Repository moves are detected from the resolved repository identity or GitHub redirects. License comparison depends on comparable license strings; when either side is missing or non-standard, licenseComparison is unknown and the boolean match fields reflect that limited result. Stars, issues, and repository state are point-in-time values. Failed packages are reflected in packagesRequested, packagesAudited, and failedPackages, never as fabricated rows.

Usage and support

Cost depends on Apify compute and the number of registry and GitHub requests. Each package requires registry metadata plus one or more GitHub lookups, so maxItems, requestDelayMs, maxRetries, and timeoutSecs determine run duration. Start with a single package, confirm the auditFlags and licenseComparison values, then add packages in small batches. See the Actor's Pricing tab for current account rates.

Use the Actor Issues page to report a problem. Include the run ID, the input used, and the run summary; do not include tokens, cookies, or private data. This Actor is not affiliated with, endorsed by, or sponsored by GitHub, npm, or PyPI. Use it only for public data and in accordance with the applicable terms, robots guidance, and law.