GitHub Repository Audit — Archived, Moved & Relicensed Packages
Pricing
from $2.99 / 1,000 repository audits
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
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
2 days ago
Last modified
Categories
Features
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
- Open the Actor Store page and select Try for free or open the Input tab.
- Add one object per package to
packages. Setregistrytonpmorpypi, enter the packagename, and optionally pin aversionor supply arepositoryUrloverride. - Set
maxItemsto the number of packages you want audited. The default input audits one npm package. - 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.
| Field | Type | Required? | Default | Meaning |
|---|---|---|---|---|
packages | object array | Required | [{"registry":"npm","name":"axios","version":"1.7.9"}] | Public npm or PyPI packages to compare with their declared or current public GitHub repository. |
maxItems | integer | Optional | 10 | Maximum package specifications to process, 1–100. |
requestDelayMs | integer | Optional | 250 | Minimum delay between registry and GitHub requests, 0–5,000 ms. |
maxRetries | integer | Optional | 1 | Retries for transient public HTTP failures, 0–3. |
timeoutSecs | integer | Optional | 30 | Timeout 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.
| Field | Type | Availability | Meaning |
|---|---|---|---|
sourceUrl | string | Always | Public GitHub API URL used for the repository audit. |
auditComplete | boolean | Always | Whether both registry and GitHub checks completed. |
auditFlags | string array | Always | Machine-readable flags such as archive, move, deprecation, or license differences; empty when none apply. |
packageRegistry | string enum | Always | Registry audited: npm or pypi. |
packageName | string | Always | Package name exactly as resolved from the registry. |
packageVersion | string | Always | Registry version audited; may differ from the requested version when the latest version was used. |
registrySourceUrl | string | Always | Registry metadata endpoint used. |
registryLicense | string | Always | License string reported by the registry. |
registryDeprecated | boolean | Always | Whether the registry marks the package deprecated. |
registryDeprecationMessage | string | When the registry publishes a deprecation message | Deprecation text from the registry. |
registryRepositoryUrl | string | Always | Repository URL declared by the registry. |
registryHomepageUrl | string | Always | Homepage URL declared by the registry. |
registryDescription | string | Always | Package description from the registry. |
registryAuthor | string | When the registry publishes author data | Package author string from the registry. |
githubSourceUrl | string | Always | Public GitHub API URL that supplied repository state. |
githubRepositoryUrl | string | Always | Public GitHub repository page URL. |
githubFullName | string | Always | Current owner/name repository identifier. |
githubOwnerLogin | string | Always | Current repository owner login. |
githubDescription | string | Always | Repository description at collection time. |
githubArchived | boolean | Always | Whether GitHub marks the repository archived. |
githubDisabled | boolean | Always | Whether GitHub marks the repository disabled. |
githubLicense | string | Always | License name reported by GitHub. |
githubLicenseSpdx | string | Always | SPDX identifier reported by GitHub. |
githubDefaultBranch | string | Always | Current default branch. |
githubStars | integer | Always | Stargazer count at collection time. |
githubForks | integer | Always | Fork count at collection time. |
githubOpenIssues | integer | Always | Open issue count at collection time. |
githubCreatedAt | string | Always | Repository creation time in ISO UTC. |
githubUpdatedAt | string | Always | Last metadata update in ISO UTC. |
githubPushedAt | string | Always | Last push time in ISO UTC. |
repositoryExpectedFullName | string | Always | owner/name expected from the registry or package name. |
repositoryMoved | boolean | Always | Whether the resolved repository differs from the expected repository. |
repositoryRedirectedFrom | string | When GitHub redirected the repository request | Original repository URL before the redirect. |
repositoryRedirectLocation | string | When GitHub redirected the repository request | Redirect target URL reported by GitHub. |
licenseComparison | string enum | Always | Registry versus GitHub license comparison: match, different, or unknown. |
licenseMatches | boolean | Always | Whether the compared licenses match. |
licenseChanged | boolean | Always | Whether the comparison found a license change. |
scrapedAt | string | Always | Time 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.
| Field | Meaning |
|---|---|
status | Actor outcome: SUCCEEDED or FAILED. |
runStatus | Canonical run status; matches status. |
dataStatus | Completeness of saved audits: COMPLETE, PARTIAL, NO_RESULTS, or FAILED. |
dataAvailable | Whether at least one source-backed audit was saved. |
itemCount | Audit rows in the dataset. |
normalCount | Non-diagnostic rows written. |
recordsPushed | Records written to the dataset. |
diagnosticCount | Operational issues recorded without writing dataset rows. |
packagesRequested | Package specifications accepted for processing. |
packagesAudited | Packages for which registry and GitHub checks completed. |
failedPackages | Packages that could not be audited. |
flaggedPackages | Audits with at least one non-empty auditFlags entry. |
scrapedAt | Time the summary was written, in ISO UTC. |
| Status | Data status | Meaning |
|---|---|---|
SUCCEEDED | COMPLETE | Every requested package was audited without an operational issue. |
SUCCEEDED | PARTIAL | Some audits were saved, but one or more packages failed or were incomplete. |
SUCCEEDED | NO_RESULTS | No package could be resolved to a public audit record. |
FAILED | FAILED | A 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.