npm Package Health & Abandonment Checker
Pricing
from $2.00 / 1,000 package checkeds
npm Package Health & Abandonment Checker
Audits the maintenance status of npm packages via the official npm Registry and downloads APIs: last release date, abandonment signal, deprecation warning, weekly downloads and trend, dependency count, license, maintainer count and a 0-100 health score.
Pricing
from $2.00 / 1,000 package checkeds
Rating
0.0
(0)
Developer
Korhan Coşan Ergün
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
7 days ago
Last modified
Categories
Features
Share
Audits the maintenance status and abandonment risk of npm packages using the official, key-free npm APIs. No scraping — all three sources are JSON APIs.
- Registry metadata —
https://registry.npmjs.org/<package> - Download statistics —
https://api.npmjs.org/downloads/point/...andhttps://api.npmjs.org/downloads/range/... - Package search —
https://registry.npmjs.org/-/v1/search
Pass the dependencies from your package.json as input and see in a single run
which of them are abandoned, deprecated, single-maintainer or unlicensed — for
supply-chain audits, security reviews and technical-debt inventories.
Input
| Field | Description |
|---|---|
packages | Package names, e.g. ["express","react","@types/node"]. Scoped packages are supported |
searchQuery | Optional: package discovery through the npm search API, e.g. keywords:cli |
maxItems | Maximum number of packages |
includeDownloadTrend | Compute the percentage change from the 30-day download series (+1 request per package) |
Output (each record)
{"id": "request","title": "request@2.88.2","link": "https://www.npmjs.com/package/request","package_name": "request","latest_version": "2.88.2","license": "Apache-2.0","last_publish": "2020-02-11T16:35:36.122Z","last_metadata_change": "2026-07-17T17:10:13.431Z","first_publish": "2011-01-22T17:12:54.986Z","days_since_last_publish": 2463,"maintenance_status": "abandoned","is_deprecated": true,"deprecation_message": "request has been deprecated...","health_score": 25,"risk_level": "high","risk_flags": ["deprecated", "abandoned-no-release-2y", "no-release-5y"],"downloads_last_week": 13964396,"downloads_trend_pct": 11.09,"version_count": 234,"releases_last_year": 0,"dependencies_count": 21,"maintainers_count": 1,"repository_url": "https://github.com/request/request"}
Maintenance status (maintenance_status)
Based on the time elapsed since the last real version release:
| Status | Threshold |
|---|---|
active | ≤ 90 days |
maintained | ≤ 365 days |
stale | ≤ 730 days |
abandoned | > 730 days |
Why
time.modifiedis not used: npm'smodifiedfield is also updated by a deprecation marking or a metadata edit. For example therequestpackage'smodifiedvalue appears to be 2026, while its last real release was in 2020. This actor uses the newest of the real version release dates; themodifiedvalue is additionally exposed in thelast_metadata_changefield.
Risk flags (risk_flags)
deprecated, abandoned-no-release-2y, stale-no-release-1y,
no-release-5y, no-license, no-public-repository, single-maintainer,
no-maintainer-listed, very-low-adoption, large-dependency-tree,
declining-usage.
Health score (health_score, 0-100)
A heuristic score: maintenance freshness (the heaviest, 40 points), deprecation
status, presence of a license/repository, maintainer count ("bus factor"),
adoption and the size of the dependency tree. risk_level is derived from the
score, but serious flags such as deprecated / abandoned / no-license put a
floor under the level.
sample_output.json contains 3 records taken from a real local run.
Pricing (PPE)
A package-checked event is fired for every package checked —
$0.002 per package.
Local run
cd ~/rua/products/apify/npm-package-healthmkdir -p storage/key_value_stores/defaultcat > storage/key_value_stores/default/INPUT.json <<'EOF'{"packages": ["express","left-pad","request","node-sass"], "maxItems": 10}EOFAPIFY_LOCAL=1 python3 main.py# output: storage/datasets/default/*.json
Known limitations
dependencies_countonly counts direct dependencies; it does not resolve the full transitive tree.- npm's download series occasionally returns data-outage days as
0. The trend calculation skips those days and compares the daily averages of the two halves; if there is not enough data,downloads_trend_pctreturnsnull. - The bulk download endpoint does not support scoped packages (
@scope/name), so those are queried one by one (slower). health_scoreis a heuristic indicator, not a normative standard; for critical decisions look at the raw fields (last_publish,is_deprecated,maintainers_count).- The registry document of very large packages can be several MB (including the readme), so lists of hundreds of packages run slowly.